* testsuite/22_locale/num_put_members_char.cc (test01): Swap size
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Oct 2002 15:45:50 +0000 (15:45 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Oct 2002 15:45:50 +0000 (15:45 +0000)
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

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/22_locale/num_put_members_char.cc
libstdc++-v3/testsuite/22_locale/num_put_members_wchar_t.cc

index 95eff62..c98a2db 100644 (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@
index e93900b..4481196 100644 (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 );
 
index 53fdd59..d3060dd 100644 (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 );