Skip to content

Commit

Permalink
Use hex escape to define Non-breaking_space
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Mar 15, 2021
1 parent c2d35ce commit 4d0f809
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Zend/Locale/FormatTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/Zend/Validate/FloatTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d0f809

Please sign in to comment.