num_put_members_char.cc (test01): Swap size and decimal_point arguments of find.
authorJakub Jelinek <jakub@redhat.com>
Wed, 23 Oct 2002 15:45:50 +0000 (17:45 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 23 Oct 2002 15:45:50 +0000 (17:45 +0200)
* 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: r58454

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 95eff62c66a8b49b920f38954727a3917a010b7c..c98a2db368b32a5d7221a43cc1735d87f83ca056 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 e93900bfdb1164676bf5245fb5f42a6f2521289c..448119682cfbdd888c13156d2ea027155555c496 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 53fdd591b5b7923334dfa18ba8c6515687f2ce5f..d3060dd81948189771306ec88d1929b470eb0850 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 );