TypeScript/tests/cases/fourslash/indentationInJsx3.ts

35 lines
481 B
TypeScript
Raw Normal View History

2017-10-31 01:09:20 +01:00
/// <reference path='fourslash.ts' />
//@Filename: file.tsx
2017-11-01 00:09:30 +01:00
////function foo() {
2017-10-31 01:09:20 +01:00
//// return (
//// <div>
2017-11-01 00:10:17 +01:00
////hello
////goodbye
2017-10-31 01:09:20 +01:00
//// </div>
//// )
////}
2017-11-01 00:09:30 +01:00
verify.currentFileContentIs(
`function foo() {
return (
<div>
hello
goodbye
</div>
)
}`
);
2017-10-31 01:09:20 +01:00
format.document();
2017-11-01 00:09:30 +01:00
verify.currentFileContentIs(
`function foo() {
return (
<div>
hello
goodbye
</div>
)
}`
);