2.cc (test_02): Allow either "Son" or "So" as abbreviated name for Sunday in de_DE locale.

* 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
This commit is contained in:
Ulrich Weigand 2003-09-27 03:28:15 +00:00 committed by Ulrich Weigand
parent 147135cc00
commit 33b1669031
3 changed files with 8 additions and 2 deletions

View 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:

View 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');

View 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');