22131.cc: Make test less istreambuf_iterator implementation dependent.
authorFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 27 Sep 2017 20:16:43 +0000 (20:16 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 27 Sep 2017 20:16:43 +0000 (20:16 +0000)
2017-09-27  François Dumont  <fdumont@gcc.gnu.org>

* testsuite/22_locale/money_get/get/char/22131.cc: Make test less
istreambuf_iterator implementation dependent.
* testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.

From-SVN: r253237

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/22_locale/money_get/get/char/22131.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/22131.cc

index c04155fadbc8b591d360178e07648371f55abe80..fde6ec9b52e6f52fb4a57b82ac89afde6208fbb7 100644 (file)
@@ -1,3 +1,9 @@
+2017-09-27  François Dumont  <fdumont@gcc.gnu.org>
+
+       * testsuite/22_locale/money_get/get/char/22131.cc: Make test less
+       istreambuf_iterator implementation dependent.
+       * testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
+
 2017-09-25  Uros Bizjak  <ubizjak@gmail.com>
 
        PR c/81854
index 6f363efd24e7f9dc32400f248c7385b0943e4006..5a0581794de6fc2d5ec4821898766f82c1e307a9 100644 (file)
@@ -67,7 +67,7 @@ void test01()
   fmt2.imbue(loc);
   InIt ibeg2(fmt2);
   err2 = ios_base::goodbit;
-  mg.get(ibeg2, iend2, intl, fmt2, err2, val2);
+  ibeg2 = mg.get(ibeg2, iend2, intl, fmt2, err2, val2);
   VERIFY( err2 == ios_base::failbit );
   VERIFY( *ibeg2 == '#' );
   VERIFY( val2 == "" );
index 3830cc366a7a1bbb28c6221e3e90e7df807a010c..0626e3c1660beb92131b92cfb152f35193332f57 100644 (file)
@@ -67,7 +67,7 @@ void test01()
   fmt2.imbue(loc);
   InIt ibeg2(fmt2);
   err2 = ios_base::goodbit;
-  mg.get(ibeg2, iend2, intl, fmt2, err2, val2);
+  ibeg2 = mg.get(ibeg2, iend2, intl, fmt2, err2, val2);
   VERIFY( err2 == ios_base::failbit );
   VERIFY( *ibeg2 == L'#' );
   VERIFY( val2 == L"" );