From 442ead701c43175a33eb23085880d61a5f64c14c Mon Sep 17 00:00:00 2001 From: Logan Smyth Date: Sat, 12 May 2018 19:09:10 -0700 Subject: [PATCH] Fix a few out-of-order test results. --- .../allow-await-outside-function/output.json | 2 +- .../null-assertion-and-assign/output.json | 2 +- .../type-assertion-and-assign/output.json | 32 +++++++++---------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/packages/babel-parser/test/fixtures/es2017/async-functions/allow-await-outside-function/output.json b/packages/babel-parser/test/fixtures/es2017/async-functions/allow-await-outside-function/output.json index 4b56863b51..284ad6b1cf 100644 --- a/packages/babel-parser/test/fixtures/es2017/async-functions/allow-await-outside-function/output.json +++ b/packages/babel-parser/test/fixtures/es2017/async-functions/allow-await-outside-function/output.json @@ -81,4 +81,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babel-parser/test/fixtures/typescript/cast/null-assertion-and-assign/output.json b/packages/babel-parser/test/fixtures/typescript/cast/null-assertion-and-assign/output.json index 01c14c609d..1c6c5426df 100644 --- a/packages/babel-parser/test/fixtures/typescript/cast/null-assertion-and-assign/output.json +++ b/packages/babel-parser/test/fixtures/typescript/cast/null-assertion-and-assign/output.json @@ -114,4 +114,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babel-parser/test/fixtures/typescript/cast/type-assertion-and-assign/output.json b/packages/babel-parser/test/fixtures/typescript/cast/type-assertion-and-assign/output.json index 944c081bdc..ce09f43551 100644 --- a/packages/babel-parser/test/fixtures/typescript/cast/type-assertion-and-assign/output.json +++ b/packages/babel-parser/test/fixtures/typescript/cast/type-assertion-and-assign/output.json @@ -71,6 +71,21 @@ "column": 11 } }, + "typeAnnotation": { + "type": "TSNumberKeyword", + "start": 2, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 2 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, "expression": { "type": "Identifier", "start": 10, @@ -88,21 +103,6 @@ }, "name": "x" }, - "typeAnnotation": { - "type": "TSNumberKeyword", - "start": 2, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 2 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, "extra": { "parenthesized": true, "parenStart": 0 @@ -133,4 +133,4 @@ ], "directives": [] } -} +} \ No newline at end of file