Merge pull request #4525 from SaschaNaz/formatFunctionType
Add two template literal tests
This commit is contained in:
commit
59782a98eb
1 changed files with 9 additions and 1 deletions
|
@ -6,6 +6,8 @@
|
||||||
////let w= `bar${3}`/*4*/
|
////let w= `bar${3}`/*4*/
|
||||||
////String.raw
|
////String.raw
|
||||||
//// `template`/*5*/
|
//// `template`/*5*/
|
||||||
|
////String.raw`foo`/*6*/
|
||||||
|
////String.raw `bar${3}`/*7*/
|
||||||
|
|
||||||
|
|
||||||
goTo.marker("1");
|
goTo.marker("1");
|
||||||
|
@ -26,3 +28,9 @@ verify.currentLineContentIs("let w = `bar${3}`;");
|
||||||
goTo.marker("5");
|
goTo.marker("5");
|
||||||
edit.insert(";");
|
edit.insert(";");
|
||||||
verify.currentLineContentIs(" `template`;");
|
verify.currentLineContentIs(" `template`;");
|
||||||
|
goTo.marker("6");
|
||||||
|
edit.insert(";");
|
||||||
|
verify.currentLineContentIs("String.raw `foo`;");
|
||||||
|
goTo.marker("7");
|
||||||
|
edit.insert(";");
|
||||||
|
verify.currentLineContentIs("String.raw `bar${3}`;");
|
Loading…
Reference in a new issue