1.cc: Correct length, taking into account sizeof(wchar_t).

2003-03-18  Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/21_strings/basic_string/append/wchar_t/1.cc:
	Correct length, taking into account sizeof(wchar_t).

From-SVN: r64547
This commit is contained in:
Paolo Carlini 2003-03-18 20:16:50 +01:00 committed by Paolo Carlini
parent b39eb2f99a
commit 91d167bb61
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-03-18 Paolo Carlini <pcarlini@unitus.it>
* testsuite/21_strings/basic_string/append/wchar_t/1.cc:
Correct size, taking into account sizeof(wchar_t).
2003-03-18 Paolo Carlini <pcarlini@unitus.it>
Reshuffle 21_strings testsuite.

View File

@ -112,7 +112,7 @@ bool test01(void)
VERIFY( str05.size() == 0 );
VERIFY( str05 == str03 );
str05.append(str_lit01, sizeof(str_lit01) - 1);
str05.append(str_lit01, sizeof(str_lit01) / sizeof(wchar_t) - 1);
VERIFY( str05 == str01 );
str06 = str02;