From c32026239618bac471c9c08a723b58885061ed62 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Dumont?= Date: Wed, 27 Sep 2017 20:16:43 +0000 Subject: [PATCH] 22131.cc: Make test less istreambuf_iterator implementation dependent. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2017-09-27 François Dumont * 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 | 6 ++++++ .../testsuite/22_locale/money_get/get/char/22131.cc | 2 +- .../testsuite/22_locale/money_get/get/wchar_t/22131.cc | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index c04155fadbc..fde6ec9b52e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2017-09-27 François Dumont + + * 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 PR c/81854 diff --git a/libstdc++-v3/testsuite/22_locale/money_get/get/char/22131.cc b/libstdc++-v3/testsuite/22_locale/money_get/get/char/22131.cc index 6f363efd24e..5a0581794de 100644 --- a/libstdc++-v3/testsuite/22_locale/money_get/get/char/22131.cc +++ b/libstdc++-v3/testsuite/22_locale/money_get/get/char/22131.cc @@ -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 == "" ); diff --git a/libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/22131.cc b/libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/22131.cc index 3830cc366a7..0626e3c1660 100644 --- a/libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/22131.cc +++ b/libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/22131.cc @@ -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"" ); -- 2.30.2