aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/xml/document/xml-document_ut.cpp
diff options
context:
space:
mode:
authori-sokolov <i-sokolov@yandex-team.ru>2022-02-10 16:46:30 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:30 +0300
commit12c01f0701d50bc3f68eb36add9bff803ca94f35 (patch)
tree4b775523c0da7b1613a0407a30e4998a436911cd /library/cpp/xml/document/xml-document_ut.cpp
parent4b839d0704ee9be1dabb0310a1f03af24963637b (diff)
downloadydb-12c01f0701d50bc3f68eb36add9bff803ca94f35.tar.gz
Restoring authorship annotation for <i-sokolov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/xml/document/xml-document_ut.cpp')
-rw-r--r--library/cpp/xml/document/xml-document_ut.cpp24
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 9f537b75c4..1dc6adf4e9 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;