diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2024-06-12 13:30:00 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2024-06-12 13:30:00 +0200 |
| commit | 2fe961cbcd05a558fd13cc5f4c506373e7047a6b (patch) | |
| tree | a61ed13006959709de7251fbc56594477b131c32 /tests/core/encoding/xml | |
| parent | ebadff555d70d5ef8faf91785696e5c5ea3605f8 (diff) | |
Fold XML attribute whitespace.
Diffstat (limited to 'tests/core/encoding/xml')
| -rw-r--r-- | tests/core/encoding/xml/test_core_xml.odin | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/core/encoding/xml/test_core_xml.odin b/tests/core/encoding/xml/test_core_xml.odin index 09d1a4611..b29431e10 100644 --- a/tests/core/encoding/xml/test_core_xml.odin +++ b/tests/core/encoding/xml/test_core_xml.odin @@ -147,6 +147,20 @@ xml_test_entities_unbox_decode :: proc(t: ^testing.T) { } @(test) +xml_test_attribute_whitespace :: proc(t: ^testing.T) { + run_test(t, { + // Same as above. + // Unbox CDATA in data tag. + filename = "XML/attribute-whitespace.xml", + options = { + flags = {}, + expected_doctype = "foozle", + }, + crc32 = 0x8f5fd6c1, + }) +} + +@(test) xml_test_invalid_doctype :: proc(t: ^testing.T) { run_test(t, { filename = "XML/utf8.xml", |