diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-11-19 12:48:28 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-11-19 12:48:28 +0000 |
| commit | 91ca44e4bd311b935d9da837bb2a1045f101a970 (patch) | |
| tree | 03b109574c52b71a6abe4adf3f0ea5c1f0469032 | |
| parent | 3be9f580c9b44fbd179158b08f1ec85c9356a4e9 (diff) | |
Add test for startsWith tokenisation
| -rw-r--r-- | test/styles/parser/tokeniser.tests.js | 4 |
1 files changed, 4 insertions, 0 deletions
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")]); }); |
