diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-02-19 17:11:00 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-11 11:32:20 +0100 |
| commit | 852485d8ecd784153e41e565a0a87abf99cf4e0d (patch) | |
| tree | 3c8be88c2c98b5f1b2f9ea51e5d3a20c10baf3ff /ext/intl/tests/intl_get_error_code.phpt | |
| parent | 6bfb119e18e5241b6719a4ad69223d91c465a58e (diff) | |
| download | php-git-852485d8ecd784153e41e565a0a87abf99cf4e0d.tar.gz | |
Adjust tests for zpp TypeError change
Diffstat (limited to 'ext/intl/tests/intl_get_error_code.phpt')
| -rw-r--r-- | ext/intl/tests/intl_get_error_code.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/tests/intl_get_error_code.phpt b/ext/intl/tests/intl_get_error_code.phpt index 6cd361ba71..797aee4fb7 100644 --- a/ext/intl/tests/intl_get_error_code.phpt +++ b/ext/intl/tests/intl_get_error_code.phpt @@ -11,7 +11,7 @@ intl_get_error_code() // Suppress warning messages. error_reporting( E_ERROR ); -if( collator_get_locale() !== false ) +if( collator_get_locale(new Collator('en_US'), -1) !== false ) echo "failed\n"; else { |
