summaryrefslogtreecommitdiffstats
path: root/test/src/test-predicates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/test-predicates.cpp')
-rw-r--r--test/src/test-predicates.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/src/test-predicates.cpp b/test/src/test-predicates.cpp
index 2905f40..0149d93 100644
--- a/test/src/test-predicates.cpp
+++ b/test/src/test-predicates.cpp
@@ -13,6 +13,7 @@ int main(int argc, char** argv) {
using namespace Arabica::XPath;
Interpreter* interpreter = Interpreter::fromURI(argv[1]);
+ assert(interpreter);
Node<std::string> atomicState = interpreter->getState("atomic");
assert(Interpreter::isAtomic(atomicState));