There was an error while loading. Please reload this page.
1 parent b39a6db commit 0857894Copy full SHA for 0857894
1 file changed
test/expression.elementaccess.tests.ts
@@ -1,11 +1,7 @@
1
import { should } from 'chai';
2
import { tokenize, createToken, Token } from './utils/tokenize';
3
4
-// Array element access already emits distinct scopes for the array name
5
-// (variable.other.readwrite) and the surrounding brackets
6
-// (punctuation.squarebracket.*). Whether those render in different colors is a
7
-// theme concern; the grammar's job is only to scope them distinctly, which
8
-// these tests lock in.
+// regression test for array element acccess (ensure proper tokenization of the square brackets and the index expression)
9
describe("Array element access", () => {
10
before(() => { should(); });
11
0 commit comments