mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 07:14:09 +08:00
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:
parent
b39eb2f99a
commit
91d167bb61
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user