summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-10-10 09:45:52 +0100
committerCarl Hetherington <cth@carlh.net>2014-10-10 09:45:52 +0100
commit80a970c3f0c2265f8df0643947ed38134a46a85f (patch)
tree4f42773cb539ddccffe7b22ffdf94c7e9be17e9d /test
parent0d2ffd3f00caa22b5ab55ef233aa132a08263688 (diff)
Fix tests.
Diffstat (limited to 'test')
-rw-r--r--test/ref/b.xml16
-rw-r--r--test/tests.cc2
2 files changed, 17 insertions, 1 deletions
diff --git a/test/ref/b.xml b/test/ref/b.xml
new file mode 100644
index 0000000..d191755
--- /dev/null
+++ b/test/ref/b.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<A>
+ <B>42</B>
+ <C>fred</C>
+ <D>42.9</D>
+ <E>1</E>
+ <F>1</F>
+ <F>2</F>
+ <H>
+ <I>testing</I>
+ <I>more testing</I>
+ </H>
+ <J>
+ <K>jim</K>
+ </J>
+</A>
diff --git a/test/tests.cc b/test/tests.cc
index 3395ff8..bd6e4c9 100644
--- a/test/tests.cc
+++ b/test/tests.cc
@@ -158,5 +158,5 @@ BOOST_AUTO_TEST_CASE (write_test)
document.write_to_file_formatted ("build/test/b.xml");
- check_xml ("test/ref/a.xml", "build/test/b.xml", list<string> ());
+ check_xml ("test/ref/b.xml", "build/test/b.xml", list<string> ());
}