Skip to content

Commit 20e1f52

Browse files
Update test
1 parent b6ea2f9 commit 20e1f52

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed
Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/// <reference path='fourslash.ts' />
22

33
//@Filename: file.tsx
4-
////function foo () {
4+
////function foo() {
55
//// return (
66
//// <div>
77
/////*0*/hello
@@ -10,14 +10,26 @@
1010
//// )
1111
////}
1212

13-
goTo.marker('0');
14-
verify.currentLineContentIs("hello");
15-
goTo.marker('1');
16-
verify.currentLineContentIs("goodbye");
13+
verify.currentFileContentIs(
14+
`function foo() {
15+
return (
16+
<div>
17+
hello
18+
goodbye
19+
</div>
20+
)
21+
}`
22+
);
1723

1824
format.document();
1925

20-
goTo.marker('0');
21-
verify.currentLineContentIs(" hello");
22-
goTo.marker('1');
23-
verify.currentLineContentIs(" goodbye");
26+
verify.currentFileContentIs(
27+
`function foo() {
28+
return (
29+
<div>
30+
hello
31+
goodbye
32+
</div>
33+
)
34+
}`
35+
);

0 commit comments

Comments
 (0)