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:
parent
41027e3f8e
commit
8e3d204e04
@ -89,10 +89,10 @@ class Tests_DB extends WP_UnitTestCase {
|
||||
// Save the current locale settings.
|
||||
$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' );
|
||||
if ( false === $flag ) {
|
||||
$this->markTestSkipped( 'No European languages available for testing' );
|
||||
$this->markTestSkipped( 'No European locales available for testing' );
|
||||
}
|
||||
|
||||
// Try an update query.
|
||||
|
Loading…
Reference in New Issue
Block a user