summaryrefslogtreecommitdiff
path: root/tests/test_dom_text.cpp
diff options
context:
space:
mode:
authorStephan Beyer <s-beyer@gmx.net>2016-01-24 14:03:02 +0100
committerStephan Beyer <s-beyer@gmx.net>2016-01-24 14:05:44 +0100
commitf7aa65db8a13d32da0586c125f6b9b67460af374 (patch)
treec389c399fd06571172a546aa65c761e234cd2310 /tests/test_dom_text.cpp
parent7f91301946ce05e79fdd2ca3e79071f79fc93ba3 (diff)
Fix whitespace issues
Git warns when it finds "whitespace errors". This commit gets rid of these whitespace errors for code and adoc files.
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));