Skip to content

Commit f62cf17

Browse files
committed
pr review: update requested additional test
1 parent fb5d4df commit f62cf17

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

tests/baselines/Issue96.txt

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22
[2, 4]: source.ts meta.var.expr.ts
33
[4, 4]: source.ts
44
[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
5+
[7, 10]: source.ts meta.var.expr.ts meta.var-single-variable.expr.ts variable.ts
6+
[7, 14]: source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
7+
[8, 6]: source.ts
8+
[8, 10]: source.ts
9+
[9, 6]: source.ts meta.enum.declaration.ts
10+
[9, 11]: source.ts meta.enum.declaration.ts
11+
[11, 10]: source.ts meta.var.expr.ts meta.var-single-variable.expr.ts variable.ts
12+
[11, 14]: source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
13+
[12, 6]: source.ts
14+
[12, 10]: source.ts

tests/cases/Issue96.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ let^^ variable;
44
var^^iable;
55
let^^ter;
66

7-
var ^^constenum = 10;
8-
^^constenum += 10;
9-
^^const ^^enumE { }
7+
var const^^enum^^ = 10;
8+
const^^enum^^ += 10;
9+
const^^ enum^^ E { }
1010

11-
var ^^constable = "I am rrrrrroyal!";
12-
^^constable += " Royal, I say!"
11+
var const^^able^^ = "I am rrrrrroyal!";
12+
const^^able^^ += " Royal, I say!";

0 commit comments

Comments
 (0)