summaryrefslogtreecommitdiffstats
path: root/util/draft/date_ut.cpp
diff options
context:
space:
mode:
authorboger <[email protected]>2022-02-10 16:51:59 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:51:59 +0300
commit9e06c5b7f554780239af88ef82caeba9f5736906 (patch)
treecb202619d179367da10f73f1fecd4caecf07228c /util/draft/date_ut.cpp
parent7213cb3148401a37749d1557d0175fca573c7a72 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/draft/date_ut.cpp')
-rw-r--r--util/draft/date_ut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/draft/date_ut.cpp b/util/draft/date_ut.cpp
index 8c33a6c1cfd..743d08f45a7 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);
}
{