num_put_members_char.cc (test01): Swap size and decimal_point arguments of find.

* testsuite/22_locale/num_put_members_char.cc (test01): Swap size
	and decimal_point arguments of find.
	* testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.

From-SVN: r58455
This commit is contained in:
Jakub Jelinek 2002-10-23 17:47:17 +02:00 committed by Jakub Jelinek
parent 63d85716ae
commit 8c779081c1
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2002-10-23 Jakub Jelinek <jakub@redhat.com>
* testsuite/22_locale/num_put_members_char.cc (test01): Swap size
and decimal_point arguments of find.
* testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.
2002-10-22 Jakub Jelinek <jakub@redhat.com>
* Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@

View File

@ -202,8 +202,8 @@ void test01()
result1 = oss.str();
// No grouping characters.
VERIFY( !char_traits<char>::find(result1.c_str(),
numpunct_de.decimal_point(),
result1.size()) );
result1.size(),
numpunct_de.decimal_point()) );
// Should contain an 'x'.
VERIFY( result1.find('x') == 1 );

View File

@ -203,8 +203,8 @@ void test01()
result1 = oss.str();
// No grouping characters.
VERIFY( !char_traits<wchar_t>::find(result1.c_str(),
numpunct_de.decimal_point(),
result1.size()) );
result1.size(),
numpunct_de.decimal_point()) );
// Should contain an 'x'.
VERIFY( result1.find(L'x') == 1 );