Skip to content

Commit 0076313

Browse files
committed
Output Grammar name with the baseline scopes
Also cleans up existing generated folder to ensure we are always comparing latest results
1 parent 9c7430d commit 0076313

File tree

153 files changed

+343
-14
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+343
-14
lines changed

tests/baselines/Abstracts.baseline.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ let cow = new Cow();
1818
cow.makeSound();
1919
-----------------------------------
2020

21+
Grammar: TypeScript.tmLanguage
22+
-----------------------------------
2123
>abstract class Animal {
2224
^^^^^^^^
2325
source.ts meta.class.ts storage.modifier.ts

tests/baselines/Abstracts.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ let cow = new Cow();
1818
cow.makeSound();
1919
-----------------------------------
2020

21+
Grammar: TypeScript.tmLanguage
22+
-----------------------------------
2123
>abstract class Animal {
2224
^^^^^^^^
2325
[1, 1]: source.ts meta.class.ts storage.modifier.ts

tests/baselines/ArrowFunctionInsideTypeAssertion.baseline.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ function f(x: string | ((value: string) => number)) {
2424

2525
-----------------------------------
2626

27+
Grammar: TypeScript.tmLanguage
28+
-----------------------------------
2729
>// Issue: https://github.com/Microsoft/TypeScript-Sublime-Plugin/issues/292
2830
^^
2931
source.ts comment.line.double-slash.ts punctuation.definition.comment.ts

tests/baselines/ArrowFunctionInsideTypeAssertion.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ function f(x: string | ((value: string) => number)) {
2424

2525
-----------------------------------
2626

27+
Grammar: TypeScript.tmLanguage
28+
-----------------------------------
2729
>// Issue: https://github.com/Microsoft/TypeScript-Sublime-Plugin/issues/292
2830
>
2931
>var object = {

tests/baselines/Comments.baseline.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ var x = ^^/* comments */ new String();
7272
var x = new ^^/* comments */ String();
7373
-----------------------------------
7474

75+
Grammar: TypeScript.tmLanguage
76+
-----------------------------------
7577
>/*
7678
^^
7779
source.ts comment.block.ts punctuation.definition.comment.ts

tests/baselines/Comments.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ var x = ^^/* comments */ new String();
7272
var x = new ^^/* comments */ String();
7373
-----------------------------------
7474

75+
Grammar: TypeScript.tmLanguage
76+
-----------------------------------
7577
>/*
7678
>Tests for comments in general.
7779
>

tests/baselines/FunctionMethodOverloads.baseline.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ abstract class C {
5252
}
5353
-----------------------------------
5454

55+
Grammar: TypeScript.tmLanguage
56+
-----------------------------------
5557
>/* Function overload tests */
5658
^^
5759
source.ts comment.block.ts punctuation.definition.comment.ts

tests/baselines/FunctionMethodOverloads.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ abstract class C {
5252
}
5353
-----------------------------------
5454

55+
Grammar: TypeScript.tmLanguage
56+
-----------------------------------
5557
>/* Function overload tests */
5658
>export function testFunctionOverload(p: number): new() => any
5759
^^^^^^

tests/baselines/FunctionMethodParameters.baseline.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ class testClass {
3333
}
3434
-----------------------------------
3535

36+
Grammar: TypeScript.tmLanguage
37+
-----------------------------------
3638
>/* Function parameter tests */
3739
^^
3840
source.ts comment.block.ts punctuation.definition.comment.ts

tests/baselines/FunctionMethodParameters.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ class testClass {
3333
}
3434
-----------------------------------
3535

36+
Grammar: TypeScript.tmLanguage
37+
-----------------------------------
3638
>/* Function parameter tests */
3739
>function testFunctionParamType(
3840
> m1: string,

0 commit comments

Comments
 (0)