mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
cr feedback
This commit is contained in:
10
tests/cases/fourslash/whiteSpaceTrimming3.ts
Normal file
10
tests/cases/fourslash/whiteSpaceTrimming3.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
////let t = "foo \
|
||||
////bar \
|
||||
////"/*1*/
|
||||
|
||||
goTo.marker('1');
|
||||
edit.insert(";");
|
||||
|
||||
verify.currentFileContentIs("let t = \"foo \\\nbar \\ \n\";");
|
||||
8
tests/cases/fourslash/whiteSpaceTrimming4.ts
Normal file
8
tests/cases/fourslash/whiteSpaceTrimming4.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
////var re = /\w+ /*1*//;
|
||||
|
||||
goTo.marker('1');
|
||||
edit.insert("\n");
|
||||
|
||||
verify.currentFileContentIs("var re = /\\w+ \n /;");
|
||||
Reference in New Issue
Block a user