mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-11 06:02:53 -05:00
Updating test due to CR changes. The order of the diagnostic messages has changed due to concatenation changes
This commit is contained in:
@@ -8,6 +8,13 @@
|
||||
//// var var = "c";
|
||||
|
||||
verify.getSyntacticDiagnostics(`[
|
||||
{
|
||||
"message": "\'types\' can only be used in a .ts file.",
|
||||
"start": 20,
|
||||
"length": 7,
|
||||
"category": "error",
|
||||
"code": 8010
|
||||
},
|
||||
{
|
||||
"message": "Variable declaration expected.",
|
||||
"start": 67,
|
||||
@@ -28,13 +35,6 @@ verify.getSyntacticDiagnostics(`[
|
||||
"length": 3,
|
||||
"category": "error",
|
||||
"code": 1134
|
||||
},
|
||||
{
|
||||
"message": "\'types\' can only be used in a .ts file.",
|
||||
"start": 20,
|
||||
"length": 7,
|
||||
"category": "error",
|
||||
"code": 8010
|
||||
}
|
||||
]`);
|
||||
verify.getSemanticDiagnostics(`[]`);
|
||||
Reference in New Issue
Block a user