Commit 33b16690 by Ulrich Weigand Committed by Ulrich Weigand

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
parent 147135cc
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:
......
......@@ -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');
......
......@@ -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');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment