Add test for `docTypeDecl`.

This commit is contained in:
David Wendt 2019-12-29 21:05:06 -07:00
parent a7a349b02b
commit ce0546fc2c
4 changed files with 8 additions and 0 deletions

View File

@ -118,6 +118,7 @@ swf_tests! {
(xml_remove_node, "avm1/xml_remove_node", 1),
(xml_insert_before, "avm1/xml_insert_before", 1),
(xml_to_string, "avm1/xml_to_string", 1),
(xml_inspect_doctype, "avm1/xml_inspect_doctype", 1),
}
#[test]

View File

@ -0,0 +1,7 @@
Type: 1
Name: null
Value: null
Attributes defined
Has 0 children
Doctype: <!DOCTYPE myfancydoctype>
XML decl: undefined

Binary file not shown.

Binary file not shown.