22131.cc: Make test less istreambuf_iterator implementation dependent.
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
This commit is contained in:
parent
762cc1fb35
commit
c320262396
3 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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 == "" );
|
||||
|
|
|
@ -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"" );
|
||||
|
|
Loading…
Add table
Reference in a new issue