Update fourslash tests that shouldn’t insert semicolons

This commit is contained in:
Andrew Branch 2019-06-06 10:48:26 -07:00
parent ca44ee8f97
commit 7815778fb0
No known key found for this signature in database
GPG key ID: 22CCA4B120C427D2
3 changed files with 16 additions and 16 deletions

View file

@ -41,7 +41,7 @@ verify.applyCodeActionFromCompletion("1", {
name: "fooBar",
source: "/src/foo-bar",
description: `Import default 'fooBar' from module "./foo-bar"`,
newFileContent: `import fooBar from "./foo-bar";
newFileContent: `import fooBar from "./foo-bar"
def
fooB`,

View file

@ -38,7 +38,7 @@ verify.applyCodeActionFromCompletion("0", {
name: "fooBar",
source: "/src/foo-bar",
description: `Import 'fooBar' from module "./foo-bar"`,
newFileContent: `import fooBar = require("./foo-bar");
newFileContent: `import fooBar = require("./foo-bar")
exp
fooB`,

View file

@ -11,5 +11,5 @@ edit.applyRefactor({
refactorName: "Extract Symbol",
actionName: "constant_scope_0",
actionDescription: "Extract to constant in enclosing scope",
newContent: "const /*RENAME*/newLocal = <div></div>",
newContent: "const /*RENAME*/newLocal = <div></div>;",
});