Fix tests.
authorCarl Hetherington <cth@carlh.net>
Fri, 10 Oct 2014 08:45:52 +0000 (09:45 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 10 Oct 2014 08:45:52 +0000 (09:45 +0100)
test/ref/b.xml [new file with mode: 0644]
test/tests.cc

diff --git a/test/ref/b.xml b/test/ref/b.xml
new file mode 100644 (file)
index 0000000..d191755
--- /dev/null
@@ -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>
index 3395ff8265b9e3fc36da9b62e7406ea8f973c1cf..bd6e4c961acdcb383d59dbc6d90105f7e3eec33b 100644 (file)
@@ -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> ());
 }