TypeScript/tests/cases/fourslash/formatDocumentWithTrivia.ts
2015-10-09 16:38:16 +09:00

52 lines
670 B
TypeScript

/// <reference path="fourslash.ts" />
////
////// whitespace below
////
////// whitespace above
////
////let x;
////
////// abc
////
////let y;
////
////// whitespace above again
////
////while (true) {
//// while (true) {
//// }
////
//// // whitespace above
////}
////
////// whitespace above again
////
////
format.document();
verify.currentFileContentIs(`
// whitespace below
// whitespace above
let x;
// abc
let y;
// whitespace above again
while (true) {
while (true) {
}
// whitespace above
}
// whitespace above again
`);