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
|
||||
a=/b/g
|
||||
a+/b/g
|
||||
a = 1 + /2 + 1/b
|
||||
a = 1 + /2 + 1/gimyxk
|
||||
a=/a/ / /a/
|
||||
case /a/.test(c)
|
||||
//test tokenize multi-line comment containing a single line comment
|
||||
|
|
|
|||
|
|
@ -96,7 +96,8 @@
|
|||
["text"," "],
|
||||
["string.regexp","/2 "],
|
||||
["constant.language.escape","+"],
|
||||
["string.regexp"," 1/b"]
|
||||
["string.regexp"," 1/gimyx"],
|
||||
["identifier","k"]
|
||||
],[
|
||||
"no_regex",
|
||||
["identifier","a"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue