diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2024-01-14 08:28:13 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2024-01-14 08:28:13 +0100 |
commit | 6337eb74d3d9028640fdffa0a0e39735a4e3ba93 (patch) | |
tree | 06a271fe04731d7ec0c546a82d3f4ec765117f3a /source/tests/xml.test.c | |
parent | 84908dbff43e195b9f106a98feba162f814af2c5 (diff) | |
download | kit-6337eb74d3d9028640fdffa0a0e39735a4e3ba93.zip |
Short type names; Rework input buffer
Diffstat (limited to 'source/tests/xml.test.c')
-rw-r--r-- | source/tests/xml.test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tests/xml.test.c b/source/tests/xml.test.c index a3e931d..4c72d28 100644 --- a/source/tests/xml.test.c +++ b/source/tests/xml.test.c @@ -37,7 +37,7 @@ TEST("xml parse tag not closed") { is_handle_t is = IS_WRAP_STRING(SZ("<foo>")); xml_parse_result_t res = xml_parse(is, NULL); - REQUIRE_EQ(res.status, KIT_ERROR_INTERNAL); + REQUIRE_EQ(res.status, KIT_PARSING_FAILED); if (res.status == KIT_OK) xml_destroy(&res.xml); @@ -380,7 +380,7 @@ TEST("xml parse invalid escape") { is_handle_t is = IS_WRAP_STRING(SZ("&foobar;")); xml_parse_result_t res = xml_parse(is, NULL); - REQUIRE_EQ(res.status, KIT_ERROR_INTERNAL); + REQUIRE_EQ(res.status, KIT_PARSING_FAILED); if (res.status == KIT_OK) xml_destroy(&res.xml); |