summaryrefslogtreecommitdiffstats
path: root/test/src/test-arabica-namespaces.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/test-arabica-namespaces.cpp')
-rw-r--r--test/src/test-arabica-namespaces.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/src/test-arabica-namespaces.cpp b/test/src/test-arabica-namespaces.cpp
index 32feacd..3214d9f 100644
--- a/test/src/test-arabica-namespaces.cpp
+++ b/test/src/test-arabica-namespaces.cpp
@@ -33,7 +33,6 @@ assert(InterpreterImpl::filterChildElements(origNS.xmlNSPrefix + "baz", origDoc.
Test DOM manipulations and document cloning with different namespace scenarios
*/
-static std::string testPath;
static Arabica::XPath::XPath<std::string> _xpath;
std::pair<Document<std::string>, NameSpaceInfo> parse(const std::string xmlString) {
@@ -159,12 +158,6 @@ static void validateRootFooBarBaz(std::pair<Document<std::string>, NameSpaceInfo
int main(int argc, char** argv) {
- if (argc < 2) {
- std::cerr << "Expected path to the tests as first argument";
- exit(EXIT_FAILURE);
- }
- testPath = argv[1];
-
// No namespaces at all
{
std::stringstream xmlSS;