aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/string_utils/relaxed_escaper/relaxed_escaper_ut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/string_utils/relaxed_escaper/relaxed_escaper_ut.cpp')
-rw-r--r--library/cpp/string_utils/relaxed_escaper/relaxed_escaper_ut.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/string_utils/relaxed_escaper/relaxed_escaper_ut.cpp b/library/cpp/string_utils/relaxed_escaper/relaxed_escaper_ut.cpp
index 9c8bbbdfdd..768555ea3a 100644
--- a/library/cpp/string_utils/relaxed_escaper/relaxed_escaper_ut.cpp
+++ b/library/cpp/string_utils/relaxed_escaper/relaxed_escaper_ut.cpp
@@ -2,8 +2,8 @@
#include <library/cpp/testing/unittest/registar.h>
-#define RESC_FIXED_STR(s) TStringBuf(s, sizeof(s) - 1)
-static const TStringBuf CommonTestData[] = {
+#define RESC_FIXED_STR(s) TStringBuf(s, sizeof(s) - 1)
+static const TStringBuf CommonTestData[] = {
// Should be valid UTF-8.
RESC_FIXED_STR("http://ya.ru/"), RESC_FIXED_STR("http://ya.ru/"),
RESC_FIXED_STR("http://ya.ru/\\x17\\n"), RESC_FIXED_STR("http://ya.ru/\x17\n"),
@@ -29,8 +29,8 @@ Y_UNIT_TEST_SUITE(TRelaxedEscaperTest) {
Y_UNIT_TEST(TestEscaper) {
using namespace NEscJ;
for (size_t i = 0; i < Y_ARRAY_SIZE(CommonTestData); i += 2) {
- TString expected(CommonTestData[i].data(), CommonTestData[i].size());
- TString source(CommonTestData[i + 1].data(), CommonTestData[i + 1].size());
+ TString expected(CommonTestData[i].data(), CommonTestData[i].size());
+ TString source(CommonTestData[i + 1].data(), CommonTestData[i + 1].size());
TString actual(EscapeJ<false>(source));
TString actual2(UnescapeC(expected));