Skip to content

Commit de2d532

Browse files
committed
Added test for formatting on default keyword
1 parent 627ebc8 commit de2d532

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/// <reference path="fourslash.ts"/>
2+
3+
////module Foo {
4+
/////*1*/ export default class Test { }
5+
////}
6+
/////*2*/export default function bar() { }
7+
8+
format.document();
9+
goTo.marker("1");
10+
verify.currentLineContentIs(" export default class Test { }")
11+
goTo.marker("2");
12+
verify.currentLineContentIs("export default function bar() { }")

0 commit comments

Comments
 (0)