summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorfdrake <fdrake>2004-07-15 23:29:25 +0000
committerfdrake <fdrake>2004-07-15 23:29:25 +0000
commit60f6dd9e170823a9737852a1247df385640513b7 (patch)
treecc176d675dd8a6ac0420ff1231c0c2af80fcc9dd /tests
parent0f507fdc946861edad58c2dc9bade8c4aa59ee95 (diff)
downloadlibexpat-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.c6
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