mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-10 18:04:18 -05:00
Report RegExp errors in grammar check, use Annex B grammar (#58295)
This commit is contained in:
@@ -160,7 +160,7 @@ describe("unittests:: Incremental Parser", () => {
|
||||
const oldText = ts.ScriptSnapshot.fromString(source);
|
||||
const newTextAndChange = withInsert(oldText, semicolonIndex, "/");
|
||||
|
||||
compareTrees(oldText, newTextAndChange.text, newTextAndChange.textChangeRange, 4);
|
||||
compareTrees(oldText, newTextAndChange.text, newTextAndChange.textChangeRange, 0);
|
||||
});
|
||||
|
||||
it("Regular expression 2", () => {
|
||||
|
||||
Reference in New Issue
Block a user