Skip to content

Commit

Permalink
fix DateTimeParserTest
Browse files Browse the repository at this point in the history
  • Loading branch information
caton-hpg committed Aug 24, 2022
1 parent 29ff3a7 commit b114ad1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/common/time/parser/test/DateTimeParserTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ TEST(DatetimeReader, DateTime) {
auto parser = time::DatetimeReader();
auto result = parser.readDatetime("-2019-01-03T22:22:3.2333");
ASSERT_TRUE(result.ok()) << result.status();
EXPECT_EQ(nebula::DateTime(-2019, 1, 3, 22, 22, 3, 233300), result.value());
EXPECT_EQ((time::Result{nebula::DateTime(-2019, 1, 3, 22, 22, 3, 233300), false}),
result.value());
}
// with offset
{
Expand Down

0 comments on commit b114ad1

Please sign in to comment.