-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update error messages, and make them more helpful
- Loading branch information
1 parent
6022db0
commit 98cded9
Showing
6 changed files
with
24 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nsform-unicode-escapes/test/fixtures/unicode-escapes/escaped-bare-identifier/options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"throws": "Can't represent \"饾挏\" as a bare identifier" | ||
"throws": "Can't represent '饾挏' as a bare identifier" | ||
} |
2 changes: 1 addition & 1 deletion
2
...code-escapes/test/fixtures/unicode-escapes/escaped-object-property-shorthand/options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"throws": "Can't represent \"饾挏\" as a bare identifier" | ||
"throws": "Can't represent '饾挏' as a bare identifier" | ||
} |
2 changes: 1 addition & 1 deletion
2
...-transform-unicode-escapes/test/fixtures/unicode-escapes/raw-bare-identifier/options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"throws": "Can't represent \"饾挏\" as a bare identifier" | ||
"throws": "Can't represent '饾挏' as a bare identifier" | ||
} |
2 changes: 1 addition & 1 deletion
2
...-unicode-escapes/test/fixtures/unicode-escapes/raw-object-property-shorthand/options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"throws": "Can't represent \"饾挏\" as a bare identifier" | ||
"throws": "Can't represent '饾挏' as a bare identifier" | ||
} |
2 changes: 1 addition & 1 deletion
2
...ugin-transform-unicode-escapes/test/fixtures/unicode-escapes/tagged-template/options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"throws": "Can't replace Unicode escape inside tagged template literal" | ||
"throws": "Can't replace Unicode escape '\\u{1d49c}' inside tagged template literals. You can enable '@babel/plugin-transform-template-literals' to compile them to classic strings." | ||
} |