Skip to content

Commit d8dab73

Browse files
committed
Fix test for updated signature
1 parent da0795f commit d8dab73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/tspath/path_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ func TestGetCommonParents(t *testing.T) {
731731
t.Parallel()
732732
paths := []string{"/a/b/c/d", "/a/b/c/e", "/a/b/f/g", "/x/y"}
733733
got, ignored := GetCommonParents(paths, 4, opts)
734-
assert.DeepEqual(t, ignored, []string{"/x/y"})
734+
assert.DeepEqual(t, ignored, map[string]struct{}{"/x/y": {}})
735735
expected := []string{"/a/b/c", "/a/b/f/g"}
736736
assert.DeepEqual(t, got, expected)
737737
})

0 commit comments

Comments
 (0)