diff options
author | i-sokolov <i-sokolov@yandex-team.ru> | 2022-02-10 16:46:30 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:30 +0300 |
commit | 7597bb840e100a7acf04459a48562c75b439f467 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/xml/document/xml-document_ut.cpp | |
parent | 12c01f0701d50bc3f68eb36add9bff803ca94f35 (diff) | |
download | ydb-7597bb840e100a7acf04459a48562c75b439f467.tar.gz |
Restoring authorship annotation for <i-sokolov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/xml/document/xml-document_ut.cpp')
-rw-r--r-- | library/cpp/xml/document/xml-document_ut.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/library/cpp/xml/document/xml-document_ut.cpp b/library/cpp/xml/document/xml-document_ut.cpp index 1dc6adf4e9..9f537b75c4 100644 --- a/library/cpp/xml/document/xml-document_ut.cpp +++ b/library/cpp/xml/document/xml-document_ut.cpp @@ -278,19 +278,19 @@ Y_UNIT_TEST_SUITE(TestXmlDocument) { UNIT_ASSERT_EQUAL(ys.Size(), 1); UNIT_ASSERT_EQUAL(ys[0].Value<int>(), 20); } - + Y_UNIT_TEST(Html) { - using namespace NXml; - - TDocument htmlChunk("video", TDocument::RootName); - TNode videoNode = htmlChunk.Root(); - - videoNode.SetAttr("controls"); - - TStringStream ss; - videoNode.SaveAsHtml(ss); - UNIT_ASSERT_EQUAL(ss.Str(), "<video controls></video>"); - } + using namespace NXml; + + TDocument htmlChunk("video", TDocument::RootName); + TNode videoNode = htmlChunk.Root(); + + videoNode.SetAttr("controls"); + + TStringStream ss; + videoNode.SaveAsHtml(ss); + UNIT_ASSERT_EQUAL(ss.Str(), "<video controls></video>"); + } Y_UNIT_TEST(Move) { using namespace NXml; |