summaryrefslogtreecommitdiff
path: root/tests/test_dom_text.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2016-01-24 08:56:06 -0800
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2016-01-24 08:56:06 -0800
commite133764f33572c9bca205b0c19fc981df48e7e15 (patch)
treec389c399fd06571172a546aa65c761e234cd2310 /tests/test_dom_text.cpp
parent7f91301946ce05e79fdd2ca3e79071f79fc93ba3 (diff)
parentf7aa65db8a13d32da0586c125f6b9b67460af374 (diff)
Merge pull request #81 from ogdf/whitespace-issues
Fix whitespace issues
Diffstat (limited to 'tests/test_dom_text.cpp')
-rw-r--r--tests/test_dom_text.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_dom_text.cpp b/tests/test_dom_text.cpp
index 01c815c..4d91452 100644
--- a/tests/test_dom_text.cpp
+++ b/tests/test_dom_text.cpp
@@ -303,7 +303,7 @@ TEST_XML(dom_text_set_value, "<node/>")
TEST_XML(dom_text_assign_llong, "<node/>")
{
xml_node node = doc.child(STR("node"));
-
+
node.append_child(STR("text1")).text() = -9223372036854775807ll;
node.append_child(STR("text2")).text() = -9223372036854775807ll - 1;
xml_text() = -9223372036854775807ll - 1;
@@ -311,14 +311,14 @@ TEST_XML(dom_text_assign_llong, "<node/>")
node.append_child(STR("text3")).text() = 18446744073709551615ull;
node.append_child(STR("text4")).text() = 18446744073709551614ull;
xml_text() = 18446744073709551615ull;
-
+
CHECK_NODE(node, STR("<node><text1>-9223372036854775807</text1><text2>-9223372036854775808</text2><text3>18446744073709551615</text3><text4>18446744073709551614</text4></node>"));
}
TEST_XML(dom_text_set_value_llong, "<node/>")
{
xml_node node = doc.child(STR("node"));
-
+
CHECK(node.append_child(STR("text1")).text().set(-9223372036854775807ll));
CHECK(node.append_child(STR("text2")).text().set(-9223372036854775807ll - 1));
CHECK(!xml_text().set(-9223372036854775807ll - 1));