[Expat-checkins] expat/tests runtests.c,1.57,1.58
Fred L. Drake
fdrake at users.sourceforge.net
Fri Jul 16 01:29:28 CEST 2004
Update of /cvsroot/expat/expat/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19717/tests
Modified Files:
runtests.c
Log Message:
update tests to reflect that a more specific error message is being generated
for some cases
Index: runtests.c
===================================================================
RCS file: /cvsroot/expat/expat/tests/runtests.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- runtests.c 15 Jul 2004 22:54:19 -0000 1.57
+++ runtests.c 15 Jul 2004 23:29:25 -0000 1.58
@@ -1216,7 +1216,7 @@
"</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 @@
"<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 @@
"<doc/>";
expect_failure(text,
- XML_ERROR_SYNTAX,
+ XML_ERROR_UNDECLARING_PREFIX,
"Didn't report attr default setting NS w/ prefix to ''.");
}
END_TEST
More information about the Expat-checkins
mailing list