Skip to content

Commit fb5d4df

Browse files
committed
pr review: add more tests
1 parent 6318e87 commit fb5d4df

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

tests/baselines/Issue96.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
[1, 4]: source.ts meta.var.expr.ts
22
[2, 4]: source.ts meta.var.expr.ts
33
[4, 4]: source.ts
4-
[5, 4]: source.ts
4+
[5, 4]: source.ts
5+
[7, 5]: source.ts meta.var.expr.ts meta.var-single-variable.expr.ts variable.ts
6+
[8, 1]: source.ts
7+
[9, 1]: source.ts storage.type.ts
8+
[9, 7]: source.ts
9+
[11, 5]: source.ts meta.var.expr.ts meta.var-single-variable.expr.ts variable.ts
10+
[12, 1]: source.ts

tests/cases/Issue96.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,11 @@ var^^ letter;
22
let^^ variable;
33

44
var^^iable;
5-
let^^ter;
5+
let^^ter;
6+
7+
var ^^constenum = 10;
8+
^^constenum += 10;
9+
^^const ^^enumE { }
10+
11+
var ^^constable = "I am rrrrrroyal!";
12+
^^constable += " Royal, I say!"

0 commit comments

Comments
 (0)