From d3f4c22c28e19569d2330b70c48550508da86246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Wed, 9 Jun 2021 11:48:29 -0400 Subject: [PATCH] update test fixtures (#13440) * update test fixtures * chore: typo --- packages/babel-parser/src/tokenizer/context.js | 2 +- .../fixtures/tokens/record-and-tuple/brace-hash/output.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/babel-parser/src/tokenizer/context.js b/packages/babel-parser/src/tokenizer/context.js index c8d064826e..4543b2e19a 100644 --- a/packages/babel-parser/src/tokenizer/context.js +++ b/packages/babel-parser/src/tokenizer/context.js @@ -2,7 +2,7 @@ // The token context is used to track whether `}` matches // a template quasi `${` or other tokens containing `{`: -// namely tt.braceL and tt.dollarBraceL +// namely tt.braceL `{` and tt.braceHashL `#{` import { types as tt } from "./types"; diff --git a/packages/babel-parser/test/fixtures/tokens/record-and-tuple/brace-hash/output.json b/packages/babel-parser/test/fixtures/tokens/record-and-tuple/brace-hash/output.json index 2902869a67..1664ad21d6 100644 --- a/packages/babel-parser/test/fixtures/tokens/record-and-tuple/brace-hash/output.json +++ b/packages/babel-parser/test/fixtures/tokens/record-and-tuple/brace-hash/output.json @@ -37,7 +37,7 @@ { "type": { "label": "}", - "beforeExpr": false, + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false,