Skip to content

Commit eef4d57

Browse files
authored
Fix issue where unit tests are always run in the first workspace folder (#1775)
1 parent 1e4a476 commit eef4d57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ export function parseClassMemberDefinition(
815815
*/
816816
export function uriIsAncestorOf(uri1: vscode.Uri, uri2: vscode.Uri): boolean {
817817
return (
818-
uri1.with({ path: "" }).toString == uri2.with({ path: "" }).toString &&
818+
uri1.with({ path: "" }).toString() == uri2.with({ path: "" }).toString() &&
819819
// uri2.path "properly" starts with uri1.path.
820820
uri2.path.startsWith(uri1.path) &&
821821
(uri1.path.endsWith("/") || [undefined, "/"].includes(uri2.path.at(uri1.path.length)))

0 commit comments

Comments
 (0)