summaryrefslogtreecommitdiff
path: root/tests/test_xpath_xalan_2.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-06-22 20:41:08 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-06-22 20:41:08 -0700
commit5867aff943f80f19649c7e6495765af0cb5719b2 (patch)
treedcf378e6b1c8b7e86fb97f96de77c774b4e5c5b5 /tests/test_xpath_xalan_2.cpp
parent4b371e10eed49d25bf4240a6aaa321b084e586ea (diff)
tests: Make using namespace more explicit
Hiding using namespace in common.hpp is somewhat surprising so remove common.hpp and move using namespace into all .cpp files that need it.
Diffstat (limited to 'tests/test_xpath_xalan_2.cpp')
-rw-r--r--tests/test_xpath_xalan_2.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_xpath_xalan_2.cpp b/tests/test_xpath_xalan_2.cpp
index 5edae69..4e8c10e 100644
--- a/tests/test_xpath_xalan_2.cpp
+++ b/tests/test_xpath_xalan_2.cpp
@@ -2,11 +2,13 @@
#ifndef PUGIXML_NO_XPATH
-#include "common.hpp"
+#include "test.hpp"
#include <string>
#include <algorithm>
+using namespace pugi;
+
TEST_XML(xpath_xalan_string_1, "<doc a='test'>ENCYCLOPEDIA</doc>")
{
xml_node c;