diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2017-06-22 20:41:08 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2017-06-22 20:41:08 -0700 |
commit | 5867aff943f80f19649c7e6495765af0cb5719b2 (patch) | |
tree | dcf378e6b1c8b7e86fb97f96de77c774b4e5c5b5 /tests/test_dom_text.cpp | |
parent | 4b371e10eed49d25bf4240a6aaa321b084e586ea (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_dom_text.cpp')
-rw-r--r-- | tests/test_dom_text.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_dom_text.cpp b/tests/test_dom_text.cpp index 8f62e49..23b41e5 100644 --- a/tests/test_dom_text.cpp +++ b/tests/test_dom_text.cpp @@ -1,9 +1,11 @@ -#include "common.hpp" +#include "test.hpp" #include "helpers.hpp" #include <limits.h> +using namespace pugi; + TEST_XML_FLAGS(dom_text_empty, "<node><a>foo</a><b><![CDATA[bar]]></b><c><?pi value?></c><d/></node>", parse_default | parse_pi) { xml_node node = doc.child(STR("node")); |