Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
TheStormN committed Jul 14, 2024
1 parent 0c05b66 commit feb7f77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/std/tests/Dev11_0836436_get_time/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -798,13 +798,13 @@ void test_invalid_argument() {
{
wstringstream wss;
wss << put_time(&currentTime, L"%Y-%m-%d-%H-%M-%s");
assert(wss.rdstate() == ios_base::badbit);
assert(wss.rdstate() == ios_base::goodbit);
}

{
stringstream ss;
ss << put_time(&currentTime, "%Y-%m-%d-%H-%M-%s");
assert(ss.rdstate() == ios_base::badbit);
assert(ss.rdstate() == ios_base::goodbit);
}
#endif // _M_CEE_PURE
}
Expand Down

0 comments on commit feb7f77

Please sign in to comment.