Skip to content

Commit

Permalink
Test for #652
Browse files Browse the repository at this point in the history
  • Loading branch information
sheetalkamat committed Aug 21, 2018
1 parent b049043 commit 1cc28bc
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
50 changes: 50 additions & 0 deletions tests/baselines/Issue652.baseline.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
original file
-----------------------------------
const test2 = "x" +
"y"; statement;
-----------------------------------

Grammar: TypeScript.tmLanguage
-----------------------------------
>const test2 = "x" +
^^^^^
source.ts meta.var.expr.ts storage.type.ts
^
source.ts meta.var.expr.ts
^^^^^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.constant.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
^
source.ts meta.var.expr.ts keyword.operator.assignment.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts string.quoted.double.ts punctuation.definition.string.begin.ts
^
source.ts meta.var.expr.ts string.quoted.double.ts
^
source.ts meta.var.expr.ts string.quoted.double.ts punctuation.definition.string.end.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts keyword.operator.arithmetic.ts
^
source.ts meta.var.expr.ts
> "y"; statement;
^
source.ts
^
source.ts string.quoted.double.ts punctuation.definition.string.begin.ts
^
source.ts string.quoted.double.ts
^
source.ts string.quoted.double.ts punctuation.definition.string.end.ts
^
source.ts punctuation.terminator.statement.ts
^
source.ts
^^^^^^^^^
source.ts variable.other.readwrite.ts
^
source.ts punctuation.terminator.statement.ts
2 changes: 2 additions & 0 deletions tests/cases/Issue652.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
const test2 = "x" +
"y"; statement;

0 comments on commit 1cc28bc

Please # to comment.