aboutsummaryrefslogtreecommitdiffstats
path: root/util/datetime/parser_deprecated_ut.cpp
diff options
context:
space:
mode:
authortobo <tobo@yandex-team.ru>2022-02-10 16:47:27 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:27 +0300
commit7fe839092527589b38f014d854c51565b3c1adfa (patch)
tree309e97022d3530044b712b8f71318c78faf7856e /util/datetime/parser_deprecated_ut.cpp
parentd0d68c395c10da4cb56a1c845504570a04d7893e (diff)
downloadydb-7fe839092527589b38f014d854c51565b3c1adfa.tar.gz
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/datetime/parser_deprecated_ut.cpp')
-rw-r--r--util/datetime/parser_deprecated_ut.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/datetime/parser_deprecated_ut.cpp b/util/datetime/parser_deprecated_ut.cpp
index 6ad9f885b1..13383d3f18 100644
--- a/util/datetime/parser_deprecated_ut.cpp
+++ b/util/datetime/parser_deprecated_ut.cpp
@@ -466,53 +466,53 @@ Y_UNIT_TEST_SUITE(TDateTimeParseTestDeprecated) {
Y_UNIT_TEST(TestTInstantTryParseDeprecated) {
{
- const TStringBuf s = "2009-09-19 03:37:08.1+04:00";
+ const TStringBuf s = "2009-09-19 03:37:08.1+04:00";
const auto i = TInstant::ParseIso8601Deprecated(s);
TInstant iTry;
UNIT_ASSERT(TInstant::TryParseIso8601Deprecated(s, iTry));
UNIT_ASSERT_VALUES_EQUAL(i, iTry);
}
{
- const TStringBuf s = "2009-09aslkdjfkljasdjfl4:00";
+ const TStringBuf s = "2009-09aslkdjfkljasdjfl4:00";
TInstant iTry;
UNIT_ASSERT_EXCEPTION(TInstant::ParseIso8601Deprecated(s), TDateTimeParseException);
UNIT_ASSERT(!TInstant::TryParseIso8601Deprecated(s, iTry));
}
{
- const TStringBuf s = "Wed, 14 Oct 2009 16:55:33 GMT";
+ const TStringBuf s = "Wed, 14 Oct 2009 16:55:33 GMT";
const auto i = TInstant::ParseRfc822Deprecated(s);
TInstant iTry;
UNIT_ASSERT(TInstant::TryParseRfc822Deprecated(s, iTry));
UNIT_ASSERT_VALUES_EQUAL(i, iTry);
}
{
- const TStringBuf s = "Wed, alsdjflkasjdfl:55:33 GMT";
+ const TStringBuf s = "Wed, alsdjflkasjdfl:55:33 GMT";
TInstant iTry;
UNIT_ASSERT_EXCEPTION(TInstant::ParseRfc822Deprecated(s), TDateTimeParseException);
UNIT_ASSERT(!TInstant::TryParseRfc822Deprecated(s, iTry));
}
{
- const TStringBuf s = "20091014165533Z";
+ const TStringBuf s = "20091014165533Z";
const auto i = TInstant::ParseX509ValidityDeprecated(s);
TInstant iTry;
UNIT_ASSERT(TInstant::TryParseX509Deprecated(s, iTry));
UNIT_ASSERT_VALUES_EQUAL(i, iTry);
}
{
- const TStringBuf s = "200asdfasdf533Z";
+ const TStringBuf s = "200asdfasdf533Z";
TInstant iTry;
UNIT_ASSERT_EXCEPTION(TInstant::ParseX509ValidityDeprecated(s), TDateTimeParseException);
UNIT_ASSERT(!TInstant::TryParseX509Deprecated(s, iTry));
}
{
- const TStringBuf s = "990104074212Z";
+ const TStringBuf s = "990104074212Z";
const auto i = TInstant::ParseX509ValidityDeprecated(s);
TInstant iTry;
UNIT_ASSERT(TInstant::TryParseX509Deprecated(s, iTry));
UNIT_ASSERT_VALUES_EQUAL(i, iTry);
}
{
- const TStringBuf s = "9901asdf4212Z";
+ const TStringBuf s = "9901asdf4212Z";
TInstant iTry;
UNIT_ASSERT_EXCEPTION(TInstant::ParseX509ValidityDeprecated(s), TDateTimeParseException);
UNIT_ASSERT(!TInstant::TryParseX509Deprecated(s, iTry));