diff options
| author | robot-piglet <[email protected]> | 2026-05-13 18:08:39 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2026-05-13 18:52:01 +0300 |
| commit | c0208f802f7cb91323b3d2c78014f3b5225e245f (patch) | |
| tree | db49bbdb2a655be986dc2ddaeebee39267de081a /util | |
| parent | 6d03d057665c10c2f227ad4bdd31fe755cc62b34 (diff) | |
Intermediate changes
commit_hash:c0f0e5fa6a2d9bf233fe4af617eb17b323379948
Diffstat (limited to 'util')
| -rw-r--r-- | util/datetime/parser_ut.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/datetime/parser_ut.cpp b/util/datetime/parser_ut.cpp index 713f5664690..f7f4c6a01c6 100644 --- a/util/datetime/parser_ut.cpp +++ b/util/datetime/parser_ut.cpp @@ -579,6 +579,8 @@ Y_UNIT_TEST_SUITE(TDateTimeParseTest) { Y_UNIT_TEST_SUITE(TDurationParseTest) { Y_UNIT_TEST(TestParse) { + UNIT_ASSERT_VALUES_EQUAL(TDuration::Parse("3600"), TDuration::Seconds(3600)); + UNIT_ASSERT_VALUES_EQUAL(TDuration::Seconds(60 * 60 * 24 * 7), TDuration::Parse("1w")); UNIT_ASSERT_VALUES_EQUAL(TDuration::Seconds(60), TDuration::Parse("1m")); UNIT_ASSERT_VALUES_EQUAL(TDuration::Seconds(90), TDuration::Parse("1.5m")); |
