summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_parse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_parse.cpp b/tests/test_parse.cpp
index f199eb9..ba45a45 100644
--- a/tests/test_parse.cpp
+++ b/tests/test_parse.cpp
@@ -1005,8 +1005,8 @@ TEST(parse_error_offset)
CHECK_OFFSET("<n></n $>", parse_default, status_bad_end_element, 7);
CHECK_OFFSET("<n></n", parse_default, status_bad_end_element, 5);
- CHECK_OFFSET("<no></na>", parse_default, status_end_element_mismatch, 8);
- CHECK_OFFSET("<no></nod>", parse_default, status_end_element_mismatch, 9);
+ CHECK_OFFSET("<no></na>", parse_default, status_end_element_mismatch, 6);
+ CHECK_OFFSET("<no></nod>", parse_default, status_end_element_mismatch, 6);
}
TEST(parse_result_default)