mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-29 00:00:29 -04:00
Merge from vscode a4177f50c475fc0fa278a78235e3bee9ffdec781 (#8649)
* Merge from vscode a4177f50c475fc0fa278a78235e3bee9ffdec781 * distro * fix tests
This commit is contained in:
@@ -42,7 +42,7 @@ suite('Files', () => {
|
||||
assert.strictEqual(true, r1.gotDeleted());
|
||||
});
|
||||
|
||||
function testIsEqual(testMethod: (pA: string | undefined, pB: string, ignoreCase: boolean) => boolean): void {
|
||||
function testIsEqual(testMethod: (pA: string, pB: string, ignoreCase: boolean) => boolean): void {
|
||||
|
||||
// corner cases
|
||||
assert(testMethod('', '', true));
|
||||
@@ -136,7 +136,7 @@ suite('Files', () => {
|
||||
test('isEqualOrParent (ignorecase)', function () {
|
||||
|
||||
// same assertions apply as with isEqual()
|
||||
testIsEqual(isEqualOrParent);
|
||||
testIsEqual(isEqualOrParent); //
|
||||
|
||||
if (isWindows) {
|
||||
assert(isEqualOrParent('c:\\some\\path', 'c:\\', true));
|
||||
@@ -182,4 +182,4 @@ suite('Files', () => {
|
||||
assert(!isEqualOrParent('foo/bar/test.ts', 'foo/BAR/test.', true));
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user