diff options
author | fdrake <fdrake> | 2004-07-15 23:29:25 +0000 |
---|---|---|
committer | fdrake <fdrake> | 2004-07-15 23:29:25 +0000 |
commit | 60f6dd9e170823a9737852a1247df385640513b7 (patch) | |
tree | cc176d675dd8a6ac0420ff1231c0c2af80fcc9dd /tests | |
parent | 0f507fdc946861edad58c2dc9bade8c4aa59ee95 (diff) | |
download | libexpat-60f6dd9e170823a9737852a1247df385640513b7.tar.gz |
update tests to reflect that a more specific error message is being generated
for some cases
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runtests.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/runtests.c b/tests/runtests.c index aabd336..92c2865 100644 --- a/tests/runtests.c +++ b/tests/runtests.c @@ -1216,7 +1216,7 @@ START_TEST(test_ns_prefix_with_empty_uri_1) "</doc>"; expect_failure(text, - XML_ERROR_SYNTAX, + XML_ERROR_UNDECLARING_PREFIX, "Did not report re-setting namespace" " URI with prefix to ''."); } @@ -1230,7 +1230,7 @@ START_TEST(test_ns_prefix_with_empty_uri_2) "<docelem xmlns:pre=''/>"; expect_failure(text, - XML_ERROR_SYNTAX, + XML_ERROR_UNDECLARING_PREFIX, "Did not report setting namespace URI with prefix to ''."); } END_TEST @@ -1247,7 +1247,7 @@ START_TEST(test_ns_prefix_with_empty_uri_3) "<doc/>"; expect_failure(text, - XML_ERROR_SYNTAX, + XML_ERROR_UNDECLARING_PREFIX, "Didn't report attr default setting NS w/ prefix to ''."); } END_TEST |