From: jakub Date: Wed, 23 Oct 2002 15:45:50 +0000 (+0000) Subject: * testsuite/22_locale/num_put_members_char.cc (test01): Swap size X-Git-Tag: upstream/4.9.2~83756 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a44798020c458ed9955971e4ebf4575afd9de657;p=platform%2Fupstream%2Flinaro-gcc.git * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58454 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 95eff62..c98a2db 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2002-10-23 Jakub Jelinek + + * 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 * Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@ diff --git a/libstdc++-v3/testsuite/22_locale/num_put_members_char.cc b/libstdc++-v3/testsuite/22_locale/num_put_members_char.cc index e93900b..4481196 100644 --- a/libstdc++-v3/testsuite/22_locale/num_put_members_char.cc +++ b/libstdc++-v3/testsuite/22_locale/num_put_members_char.cc @@ -202,8 +202,8 @@ void test01() result1 = oss.str(); // No grouping characters. VERIFY( !char_traits::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 ); diff --git a/libstdc++-v3/testsuite/22_locale/num_put_members_wchar_t.cc b/libstdc++-v3/testsuite/22_locale/num_put_members_wchar_t.cc index 53fdd59..d3060dd 100644 --- a/libstdc++-v3/testsuite/22_locale/num_put_members_wchar_t.cc +++ b/libstdc++-v3/testsuite/22_locale/num_put_members_wchar_t.cc @@ -203,8 +203,8 @@ void test01() result1 = oss.str(); // No grouping characters. VERIFY( !char_traits::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 );