mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-28 15:50:29 -04:00
Merge VS Code 1.31.1 (#4283)
This commit is contained in:
@@ -45,12 +45,12 @@ 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));
|
||||
assert(!testMethod(null, '', true));
|
||||
assert(!testMethod(void 0, '', true));
|
||||
assert(!testMethod(null!, '', true));
|
||||
assert(!testMethod(undefined!, '', true));
|
||||
|
||||
// basics (string)
|
||||
assert(testMethod('/', '/', true));
|
||||
|
||||
Reference in New Issue
Block a user