From 4d0f80987b128e4c1f28b1f4b11f8122e661bea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 15 Mar 2021 16:31:22 +0200 Subject: [PATCH] Use hex escape to define Non-breaking_space --- tests/Zend/Locale/FormatTest.php | 2 +- tests/Zend/Validate/FloatTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Zend/Locale/FormatTest.php b/tests/Zend/Locale/FormatTest.php index df739c907..d42583581 100644 --- a/tests/Zend/Locale/FormatTest.php +++ b/tests/Zend/Locale/FormatTest.php @@ -39,7 +39,7 @@ class Zend_Locale_FormatTest extends PHPUnit_Framework_TestCase * Constant for Non-breaking space UTF-8 encoded value. * https://en.wikipedia.org/wiki/Non-breaking_space */ - const NBSP = " "; + const NBSP = "\xC2\xA0"; /** * teardown / cleanup diff --git a/tests/Zend/Validate/FloatTest.php b/tests/Zend/Validate/FloatTest.php index bb5245afb..e09ce128b 100644 --- a/tests/Zend/Validate/FloatTest.php +++ b/tests/Zend/Validate/FloatTest.php @@ -39,7 +39,7 @@ class Zend_Validate_FloatTest extends PHPUnit_Framework_TestCase * Constant for Non-breaking space UTF-8 encoded value. * https://en.wikipedia.org/wiki/Non-breaking_space */ - const NBSP = " "; + const NBSP = "\xC2\xA0"; /** * Zend_Validate_Float object