update js highlighter test
This commit is contained in:
parent
9a5bd3cd65
commit
3cc3043951
2 changed files with 3 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ a/=b/c
|
||||||
//test tokenize reg exps
|
//test tokenize reg exps
|
||||||
a=/b/g
|
a=/b/g
|
||||||
a+/b/g
|
a+/b/g
|
||||||
a = 1 + /2 + 1/b
|
a = 1 + /2 + 1/gimyxk
|
||||||
a=/a/ / /a/
|
a=/a/ / /a/
|
||||||
case /a/.test(c)
|
case /a/.test(c)
|
||||||
//test tokenize multi-line comment containing a single line comment
|
//test tokenize multi-line comment containing a single line comment
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string.regexp","/2 "],
|
["string.regexp","/2 "],
|
||||||
["constant.language.escape","+"],
|
["constant.language.escape","+"],
|
||||||
["string.regexp"," 1/b"]
|
["string.regexp"," 1/gimyx"],
|
||||||
|
["identifier","k"]
|
||||||
],[
|
],[
|
||||||
"no_regex",
|
"no_regex",
|
||||||
["identifier","a"],
|
["identifier","a"],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue