提交 0dd507ab 编写于 作者: J James Dinh 提交者: Benjamin Pasero

Enable strict null checking for files test (#65249)

上级 d85a16f2
......@@ -405,6 +405,7 @@
"./vs/platform/extensions/node/extensionValidator.ts",
"./vs/platform/files/common/files.ts",
"./vs/platform/files/node/files.ts",
"./vs/platform/files/test/files.test.ts",
"./vs/platform/history/common/history.ts",
"./vs/platform/history/electron-main/historyMainService.ts",
"./vs/platform/instantiation/common/descriptors.ts",
......
......@@ -45,7 +45,7 @@ suite('Files', () => {
assert.strictEqual(true, r1.gotDeleted());
});
function testIsEqual(testMethod: (pA: string, pB: string, ignoreCase: boolean) => boolean): void {
function testIsEqual(testMethod: (pA: string | null | undefined, pB: string, ignoreCase: boolean) => boolean): void {
// corner cases
assert(testMethod('', '', true));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册