diff options
Diffstat (limited to 'tests/test_xpath_parse.cpp')
-rw-r--r-- | tests/test_xpath_parse.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test_xpath_parse.cpp b/tests/test_xpath_parse.cpp index 4f6f69d..476036e 100644 --- a/tests/test_xpath_parse.cpp +++ b/tests/test_xpath_parse.cpp @@ -304,4 +304,13 @@ TEST(xpath_parse_qname_error) CHECK_XPATH_FAIL(STR(":")); } +TEST(xpath_parse_result_default) +{ + xpath_parse_result result; + + CHECK(!result); + CHECK(result.error != 0); + CHECK(result.offset == 0); +} + #endif |