Skip to content

Commit fd2f981

Browse files
committed
Fixup equality check
1 parent e8f15fe commit fd2f981

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/unit-tests/utilities/workspace.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ suite("Workspace Utilities Unit Test Suite", () => {
3535
testSwiftVersion
3636
);
3737

38-
expect(folders.map(folder => folder.fsPath)).equals([packageFolder.fsPath]);
38+
expect(folders.map(folder => folder.fsPath)).deep.equal([packageFolder.fsPath]);
3939
});
4040

4141
test("returns subpackages when search for subpackages enabled", async () => {
@@ -93,7 +93,7 @@ suite("Workspace Utilities Unit Test Suite", () => {
9393
testSwiftVersion
9494
);
9595

96-
expect(folders.map(folder => folder.fsPath)).equals([packageFolder.fsPath]);
96+
expect(folders.map(folder => folder.fsPath)).deep.equal([packageFolder.fsPath]);
9797
});
9898

9999
test("skipFolders has no effect when search for subpackages is disabled", async () => {
@@ -105,7 +105,7 @@ suite("Workspace Utilities Unit Test Suite", () => {
105105
testSwiftVersion
106106
);
107107

108-
expect(folders.map(folder => folder.fsPath)).equals([packageFolder.fsPath]);
108+
expect(folders.map(folder => folder.fsPath)).deep.equal([packageFolder.fsPath]);
109109
});
110110

111111
test("skipFolders with non-existent folder names does not affect results", async () => {

0 commit comments

Comments
 (0)