Docs: Update inline comment in `Tests_DB::test_locale_floats()`.

See #49572.

git-svn-id: https://develop.svn.wordpress.org/trunk@47498 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-03-24 01:05:31 +00:00
parent 41027e3f8e
commit 8e3d204e04
1 changed files with 2 additions and 2 deletions

View File

@ -89,10 +89,10 @@ class Tests_DB extends WP_UnitTestCase {
// Save the current locale settings. // Save the current locale settings.
$current_locales = explode( ';', setlocale( LC_ALL, 0 ) ); $current_locales = explode( ';', setlocale( LC_ALL, 0 ) );
// Switch to Russian. // Switch to a locale using comma as a decimal point separator.
$flag = setlocale( LC_ALL, 'ru_RU.utf8', 'rus', 'fr_FR.utf8', 'fr_FR', 'de_DE.utf8', 'de_DE', 'es_ES.utf8', 'es_ES', 'ja_JP.utf8', 'ja_JP' ); $flag = setlocale( LC_ALL, 'ru_RU.utf8', 'rus', 'fr_FR.utf8', 'fr_FR', 'de_DE.utf8', 'de_DE', 'es_ES.utf8', 'es_ES', 'ja_JP.utf8', 'ja_JP' );
if ( false === $flag ) { if ( false === $flag ) {
$this->markTestSkipped( 'No European languages available for testing' ); $this->markTestSkipped( 'No European locales available for testing' );
} }
// Try an update query. // Try an update query.