Skip to content

Commit 0857894

Browse files
committed
updated comment
1 parent b39a6db commit 0857894

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

test/expression.elementaccess.tests.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
import { should } from 'chai';
22
import { tokenize, createToken, Token } from './utils/tokenize';
33

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.
4+
// regression test for array element acccess (ensure proper tokenization of the square brackets and the index expression)
95
describe("Array element access", () => {
106
before(() => { should(); });
117

0 commit comments

Comments
 (0)