summaryrefslogtreecommitdiff
path: root/tests/test_write.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_write.cpp')
-rw-r--r--tests/test_write.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_write.cpp b/tests/test_write.cpp
index 5736273..95cc566 100644
--- a/tests/test_write.cpp
+++ b/tests/test_write.cpp
@@ -1,4 +1,4 @@
-#include "common.hpp"
+#include "test.hpp"
#include "writer_string.hpp"
@@ -6,6 +6,8 @@
#include <sstream>
#include <stdexcept>
+using namespace pugi;
+
TEST_XML(write_simple, "<node attr='1'><child>text</child></node>")
{
CHECK_NODE_EX(doc, STR("<node attr=\"1\">\n<child>text</child>\n</node>\n"), STR(""), 0);