Skip to content

Commit

Permalink
HowardHinnant#388 add comment on unit test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldreik committed May 4, 2019
1 parent 429d9ba commit e3e3556
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/date_test/parse.pass.cpp
Expand Up @@ -45,6 +45,8 @@ test_a()
std::istringstream in{"Sun 2016-12-11"};
sys_days tp;
in >> parse("%A %F", tp);
// this may fail with libstdc++, see https://github.com/HowardHinnant/date/issues/388
// possible workaround: compile date.h with -DONLY_C_LOCALE=1
assert(!in.fail());
assert(!in.bad());
assert(!in.eof());
Expand Down

0 comments on commit e3e3556

Please sign in to comment.