mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-16 18:24:36 +00:00
runtests.c: Catch some failure to bump XML_*_VERSION
This commit is contained in:
parent
e5eb04b373
commit
642ec44e7b
1 changed files with 5 additions and 0 deletions
|
@ -7736,6 +7736,11 @@ START_TEST(test_misc_version)
|
|||
fail("Unable to parse version text");
|
||||
if (!versions_equal(&read_version, &parsed_version))
|
||||
fail("Version mismatch");
|
||||
|
||||
#if ! defined(XML_UNICODE)
|
||||
if (strcmp(version_text, "expat_2.2.2")) /* needs bump on releases */
|
||||
fail("XML_*_VERSION in expat.h out of sync?\n");
|
||||
#endif /* ! defined(XML_UNICODE) */
|
||||
}
|
||||
END_TEST
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue