From ae07fd5aeb78263ec529425924a55a81b8e12c73 Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Thu, 8 Jun 2017 15:53:18 +0200 Subject: [PATCH] Add test for PR#14 --- test/html.test.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/html.test.ts b/test/html.test.ts index 8ca0ef85..6ae085ff 100644 --- a/test/html.test.ts +++ b/test/html.test.ts @@ -599,5 +599,19 @@ testTokenization(['html', 'css'], [ { startIndex:0, type: DOCTYPE }, { startIndex:11, type: DELIM_DOCTYPE } ] + }], + + // PR #14 + [{ + line: 'asd', + tokens: [ + { startIndex:0, type: DELIM_START }, + { startIndex:1, type: getTag('asdf:bar') }, + { startIndex:9, type: DELIM_END }, + { startIndex:10, type: '' }, + { startIndex:13, type: DELIM_START }, + { startIndex:15, type: getTag('asdf:bar') }, + { startIndex:23, type: DELIM_END } + ] }] ]);