* add trim trailing whitespace option * set default trimTrailingWhiteSpace to true * add fourslash tests * accept new baselines * only preserce whitespace when setting is explicitly false * format whitespace
20 lines
264 B
TypeScript
20 lines
264 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
////
|
|
/////*begin*/;
|
|
////
|
|
/////*end*/
|
|
////
|
|
////
|
|
|
|
format.setOption("trimTrailingWhitespace", false);
|
|
|
|
format.selection('begin', 'end');
|
|
|
|
verify.currentFileContentIs(`
|
|
;
|
|
|
|
|
|
|
|
`);
|