Skip to content

Commit a1be5a4

Browse files
Update cachingInServerLSHost.ts
1 parent e3bb5d3 commit a1be5a4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/harness/unittests/cachingInServerLSHost.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ namespace ts {
123123
try {
124124
// trigger synchronization to make sure that LSHost will try to find 'f2' module on disk
125125
project.getLanguageService().getSemanticDiagnostics(imported.name);
126-
assert.fail(false, `should not find file '${imported.name}'`);
126+
assert.isTrue(false, `should not find file '${imported.name}'`);
127127
}
128128
catch (e) {
129129
assert.isTrue(e.message.indexOf(`Could not find file: '${imported.name}'.`) === 0);
@@ -203,4 +203,4 @@ namespace ts {
203203
assert.isTrue(diags.length === 0);
204204
});
205205
});
206-
}
206+
}

0 commit comments

Comments
 (0)