Skip to content

Commit 7594957

Browse files
author
Yui T
committed
Add test case to make sure that we only report an error from target file
1 parent 848bfe7 commit 7594957

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/// <reference path="fourslash.ts" />
2+
3+
// @declaration: true
4+
// @out: true
5+
6+
// @Filename: inputFile1.ts
7+
//// module m {
8+
//// export class C implements I { }
9+
//// interface I { }
10+
//// } /*1*/
11+
12+
// @Filename: input2.ts
13+
//// var x = "hello world"; /*2*/
14+
15+
debugger;
16+
goTo.marker("1");
17+
verify.numberOfErrorsInCurrentFile(1);
18+
19+
goTo.marker("2");
20+
verify.numberOfErrorsInCurrentFile(0);

0 commit comments

Comments
 (0)