diff options
author | boger <[email protected]> | 2022-02-10 16:52:00 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:52:00 +0300 |
commit | 49cadfd7af3d975ff562bf5dadc1966135d03b43 (patch) | |
tree | ab7fbbf3253d4c0e2793218f09378908beb025fb /util/draft/date_ut.cpp | |
parent | 9e06c5b7f554780239af88ef82caeba9f5736906 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/draft/date_ut.cpp')
-rw-r--r-- | util/draft/date_ut.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/draft/date_ut.cpp b/util/draft/date_ut.cpp index 743d08f45a7..8c33a6c1cfd 100644 --- a/util/draft/date_ut.cpp +++ b/util/draft/date_ut.cpp @@ -9,10 +9,10 @@ Y_UNIT_TEST_SUITE(TDateTest) { UNIT_ASSERT_EQUAL(d.GetYear(), 2011); UNIT_ASSERT_EQUAL(d.GetMonth(), 2); UNIT_ASSERT_EQUAL(d.GetMonthDay(), 15); - UNIT_ASSERT_EQUAL(d.ToStroka("%Y%m%d"), "20110215"); - UNIT_ASSERT_EQUAL(d.ToStroka(), "20110215"); - UNIT_ASSERT_EQUAL(d.ToStroka("%Y--%m--%d"), "2011--02--15"); - UNIT_ASSERT_EQUAL(d.ToStroka("%U"), "07"); + UNIT_ASSERT_EQUAL(d.ToStroka("%Y%m%d"), "20110215"); + UNIT_ASSERT_EQUAL(d.ToStroka(), "20110215"); + UNIT_ASSERT_EQUAL(d.ToStroka("%Y--%m--%d"), "2011--02--15"); + UNIT_ASSERT_EQUAL(d.ToStroka("%U"), "07"); UNIT_ASSERT_EQUAL(d.GetStartUTC(), 1297728000); } { @@ -20,8 +20,8 @@ Y_UNIT_TEST_SUITE(TDateTest) { UNIT_ASSERT_EQUAL(d.GetYear(), 2005); UNIT_ASSERT_EQUAL(d.GetMonth(), 6); UNIT_ASSERT_EQUAL(d.GetMonthDay(), 3); - UNIT_ASSERT_EQUAL(d.ToStroka(), "20050603"); - UNIT_ASSERT_EQUAL(d.ToStroka("____%Y__%m____%d"), "____2005__06____03"); + UNIT_ASSERT_EQUAL(d.ToStroka(), "20050603"); + UNIT_ASSERT_EQUAL(d.ToStroka("____%Y__%m____%d"), "____2005__06____03"); UNIT_ASSERT_EQUAL(d.GetStartUTC(), 1117756800); } { |