Merge pull request #4525 from SaschaNaz/formatFunctionType
Add two template literal tests
This commit is contained in:
commit
59782a98eb
|
@ -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");
|
||||||
|
@ -25,4 +27,10 @@ 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