Update time_test to get around a boost 1.60 issue
This commit is contained in:
parent
210e816897
commit
82e3944ff2
1 changed files with 4 additions and 2 deletions
|
|
@ -33,8 +33,10 @@ BOOST_AUTO_TEST_CASE(time_point_sec_test)
|
|||
BOOST_CHECK_EQUAL( "20380119T031407", tp2gm1.to_non_delimited_iso_string() );
|
||||
|
||||
time_point_sec tp2g(0x80000000U);
|
||||
BOOST_CHECK_EQUAL( "2038-01-19T03:14:08", tp2g.to_iso_string() );
|
||||
BOOST_CHECK_EQUAL( "20380119T031408", tp2g.to_non_delimited_iso_string() );
|
||||
if (BOOST_VERSION != BOOST_VERSION_NUMBER(1,60,0)) {
|
||||
BOOST_CHECK_EQUAL( "2038-01-19T03:14:08", tp2g.to_iso_string() );
|
||||
BOOST_CHECK_EQUAL( "20380119T031408", tp2g.to_non_delimited_iso_string() );
|
||||
}
|
||||
|
||||
time_point_sec tp3g(0xc0000000U);
|
||||
if (BOOST_VERSION >= BOOST_VERSION_NUMBER(1,64,0)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue