summaryrefslogtreecommitdiffstats
path: root/yql/essentials/utils/docs/markdown_ut.cpp
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-07-21 14:57:11 +0300
committerrobot-piglet <[email protected]>2025-07-21 15:06:54 +0300
commit726f797d4613ba88b5b8cddea91765a768a3216d (patch)
tree2ae8a653edddf723f8ca021825371879dbec7e0d /yql/essentials/utils/docs/markdown_ut.cpp
parentfea05ea76fdac14746236e14bda98ce8cc29fb00 (diff)
Intermediate changes
commit_hash:79973eb78ce6e4b413aca003d61d0ba4e90c0cca
Diffstat (limited to 'yql/essentials/utils/docs/markdown_ut.cpp')
-rw-r--r--yql/essentials/utils/docs/markdown_ut.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/yql/essentials/utils/docs/markdown_ut.cpp b/yql/essentials/utils/docs/markdown_ut.cpp
index 3f9d7acb2e3..15d69ed9e5d 100644
--- a/yql/essentials/utils/docs/markdown_ut.cpp
+++ b/yql/essentials/utils/docs/markdown_ut.cpp
@@ -64,12 +64,13 @@ FROM my_table;
UNIT_ASSERT_VALUES_EQUAL(sections[0].Header.Anchor, "#coalesce");
UNIT_ASSERT_STRING_CONTAINS(sections[0].Body, "Iterates");
UNIT_ASSERT_STRING_CONTAINS(sections[0].Body, "COALESCE");
+ UNIT_ASSERT_GE(Count(sections[0].Body, '\n'), 5);
UNIT_ASSERT_STRING_CONTAINS(sections[1].Header.Content, "Random");
UNIT_ASSERT_VALUES_EQUAL(sections[1].Header.Anchor, "#random");
UNIT_ASSERT_STRING_CONTAINS(sections[1].Body, "Generates");
UNIT_ASSERT_STRING_CONTAINS(sections[1].Body, "Random");
- UNIT_ASSERT_STRING_CONTAINS(sections[1].Body, "Random");
+ UNIT_ASSERT_GE(Count(sections[1].Body, '\n'), 5);
}
} // Y_UNIT_TEST_SUITE(MarkdownParserTests)