diff options
author | Andrew Sidwell <andy@entai.co.uk> | 2008-06-18 17:33:24 +0000 |
---|---|---|
committer | Andrew Sidwell <andy@entai.co.uk> | 2008-06-18 17:33:24 +0000 |
commit | 48ba3bdbd561645a78ef5e5cb99ead7ef3a10661 (patch) | |
tree | ff11bfb8ff547502d5dd2691da9ce3f34c382223 /test/data | |
parent | fcc857c2b72ecc43388a0ee34f0a8ddfed8d13d8 (diff) | |
download | libhubbub-48ba3bdbd561645a78ef5e5cb99ead7ef3a10661.tar.gz libhubbub-48ba3bdbd561645a78ef5e5cb99ead7ef3a10661.tar.bz2 |
Fix remaining issues around passing the testsuite, and make sure all the tokeniser is tested.
svn path=/trunk/hubbub/; revision=4387
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/tokeniser2/test2.test | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/data/tokeniser2/test2.test b/test/data/tokeniser2/test2.test index 8b4f516..1a15fde 100644 --- a/test/data/tokeniser2/test2.test +++ b/test/data/tokeniser2/test2.test @@ -132,12 +132,9 @@ "input":"foo < bar", "output":[["Character", "foo "], "ParseError", ["Character", "< bar"]]}, -/* jmb -- libjson uses C strings internally, thus the input gets truncated before the - * data is fed to the input stream (and thus the tokeniser) {"description":"Null Byte Replacement", "input":"\u0000", "output":["ParseError", ["Character", "\ufffd"]]}, -*/ {"description":"Comment with dash", "input":"<!---x", @@ -147,6 +144,10 @@ "input":"\nx\n>\n", "output":[["Character","\nx\n>\n"]]} +{"description":"Empty attribute followed by uppercase attribute", +"input":"<h a B=''>", +"output":[["StartTag", "h", {"a":"", "b":""}]]}, + ]} |