Skip to content

Commit 05c2c9b

Browse files
committed
Updating test due to CR changes. The order of the diagnostic messages has changed due to concatenation changes
1 parent 43bd2d8 commit 05c2c9b

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

tests/cases/fourslash/server/getJavaScriptSyntacticDiagnostics02.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
//// var var = "c";
99

1010
verify.getSyntacticDiagnostics(`[
11+
{
12+
"message": "\'types\' can only be used in a .ts file.",
13+
"start": 20,
14+
"length": 7,
15+
"category": "error",
16+
"code": 8010
17+
},
1118
{
1219
"message": "Variable declaration expected.",
1320
"start": 67,
@@ -28,13 +35,6 @@ verify.getSyntacticDiagnostics(`[
2835
"length": 3,
2936
"category": "error",
3037
"code": 1134
31-
},
32-
{
33-
"message": "\'types\' can only be used in a .ts file.",
34-
"start": 20,
35-
"length": 7,
36-
"category": "error",
37-
"code": 8010
3838
}
3939
]`);
4040
verify.getSemanticDiagnostics(`[]`);

0 commit comments

Comments
 (0)