From 91ca44e4bd311b935d9da837bb2a1045f101a970 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 19 Nov 2016 12:48:28 +0000 Subject: Add test for startsWith tokenisation --- test/styles/parser/tokeniser.tests.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/styles/parser') diff --git a/test/styles/parser/tokeniser.tests.js b/test/styles/parser/tokeniser.tests.js index 88c734b..16f3847 100644 --- a/test/styles/parser/tokeniser.tests.js +++ b/test/styles/parser/tokeniser.tests.js @@ -55,6 +55,10 @@ test("equals are tokenised", function() { assertTokens("==", [isToken("equals"), isToken("equals")]); }); +test("startsWith symbols are tokenised", function() { + assertTokens("^=^=", [isToken("startsWith"), isToken("startsWith")]); +}); + test("open parens are tokenised", function() { assertTokens("((", [isToken("open-paren"), isToken("open-paren")]); }); -- cgit v1.2.3