aboutsummaryrefslogtreecommitdiffstats
path: root/util/draft/datetime_ut.cpp
diff options
context:
space:
mode:
authordmasloff <dmasloff@yandex-team.com>2024-08-17 23:33:42 +0300
committerdmasloff <dmasloff@yandex-team.com>2024-08-17 23:43:45 +0300
commit69340f4614e853b9319df4b454ab7497711ee3cd (patch)
tree9902a3e2f58fe0bd9a157e7b51ad1cc52efa5744 /util/draft/datetime_ut.cpp
parenta905b53ec410defd5d2c40031ef8b34bb50a29f8 (diff)
downloadydb-69340f4614e853b9319df4b454ab7497711ee3cd.tar.gz
Set SpacesInLineCommentPrefix to 1 in /util
Set SpacesInLineCommentPrefix to 1 in /util 3853f9ec5143722c1bebd8dc0ffc9b61a6c17657
Diffstat (limited to 'util/draft/datetime_ut.cpp')
-rw-r--r--util/draft/datetime_ut.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/draft/datetime_ut.cpp b/util/draft/datetime_ut.cpp
index a5e065ef6e..b60c145335 100644
--- a/util/draft/datetime_ut.cpp
+++ b/util/draft/datetime_ut.cpp
@@ -84,7 +84,7 @@ Y_UNIT_TEST_SUITE(TSimpleTMTest) {
tzset();
- TSimpleTM::New(-1); //should not die here
+ TSimpleTM::New(-1); // should not die here
UNIT_ASSERT_VALUES_EQUAL((ui32)0, (ui32)TSimpleTM::New(0));
UNIT_ASSERT((ui32)TSimpleTM::New(0).IsUTC());
@@ -95,7 +95,7 @@ Y_UNIT_TEST_SUITE(TSimpleTMTest) {
Zero(tmt);
gmtime_r(&t, &tmt);
UNIT_ASSERT_VALUES_EQUAL_C((i64)t, (i64)TSimpleTM::New(t).AsTimeT(), ToString(t)); // time_t -> gmt tm -> time_t
- UNIT_ASSERT_VALUES_EQUAL_C((i64)t, (i64)TSimpleTM::New(tmt).AsTimeT(), ToString(t)); // gmt tm -> time_t
+ UNIT_ASSERT_VALUES_EQUAL_C((i64)t, (i64)TSimpleTM::New(tmt).AsTimeT(), ToString(t)); // gmt tm -> time_t
AssertStructTmEqual(PrintMarker("UTC:time_t", __LINE__, t),
tmt, TSimpleTM::New(t));
AssertStructTmEqual(PrintMarker("UTC:tm", __LINE__, t),