2.cc (test_02): Allow either "Son" or "So" as abbreviated name for Sunday in de_DE...
authorUlrich Weigand <uweigand@de.ibm.com>
Sat, 27 Sep 2003 03:28:15 +0000 (03:28 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Sat, 27 Sep 2003 03:28:15 +0000 (03:28 +0000)
* testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
"Son" or "So" as abbreviated name for Sunday in de_DE locale.
* testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.

From-SVN: r71849

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/22_locale/time_put/put/char/2.cc
libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/2.cc

index 38a115dd00d554ad31163cc09e8ae14023cbb6ff..c49d9d782d349ada0bbebb946084e16c76e8be6d 100644 (file)
@@ -1,3 +1,9 @@
+2003-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either 
+       "Son" or "So" as abbreviated name for Sunday in de_DE locale.
+       * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
+
 2003-09-26  Brad Spencer  <spencer@infointeractive.com>
 
        * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
index c09c11ec60802cd39d73f6978c78b98584e48879..03f5b7d275fb0015938e48b8af680e773d0cec5b 100644 (file)
@@ -52,7 +52,7 @@ void test02()
 
   iterator_type os_it02 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'a');
   string result2 = oss.str();
-  VERIFY( result2 == "Son" );
+  VERIFY( result2 == "Son" || result2 == "So" );
 
   oss.str(empty); // "%d.%m.%Y"
   iterator_type os_it23 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x');
index 62751ffc45796e1cc75e70bae8e75064ce1a313d..d056bb3c6f09d2025ca9bf12aa71b3caf5279a23 100644 (file)
@@ -52,7 +52,7 @@ void test02()
 
   iterator_type os_it02 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'a');
   wstring result2 = oss.str();
-  VERIFY( result2 == L"Son" );
+  VERIFY( result2 == L"Son" || result2 == L"So" );
 
   oss.str(empty); // "%d.%m.%Y"
   iterator_type os_it23 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x');