From a6a2f7a824491d82af40f1ce8699ef4eb7d192e3 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 10 Mar 2009 12:49:49 +0000 Subject: Sync tokeniser tests with html5lib. Sync tokeniser implementation with the spec. Fix handling of \0 in the tag open state. The unicodeCharacters test is disabled, as json-c doesn't like it. svn path=/trunk/hubbub/; revision=6755 --- test/data/tokeniser2/test2.test | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'test/data/tokeniser2/test2.test') diff --git a/test/data/tokeniser2/test2.test b/test/data/tokeniser2/test2.test index 8c7d00f..6d6f6ff 100644 --- a/test/data/tokeniser2/test2.test +++ b/test/data/tokeniser2/test2.test @@ -150,8 +150,14 @@ {"description":"Empty attribute followed by uppercase attribute", "input":"", -"output":[["StartTag", "h", {"a":"", "b":""}]]} +"output":[["StartTag", "h", {"a":"", "b":""}]]}, -]} +{"description":"Double-quote after attribute name", +"input":"", +"output":["ParseError", ["StartTag", "h", {"a":"", "\"":""}]]}, +{"description":"Single-quote after attribute name", +"input":"", +"output":["ParseError", ["StartTag", "h", {"a":"", "'":""}]]} +]} -- cgit v1.2.3