diff --git a/src/internal/data/data_collection.go b/src/internal/data/data_collection.go index e6f3c5f43..d76c4b33a 100644 --- a/src/internal/data/data_collection.go +++ b/src/internal/data/data_collection.go @@ -92,7 +92,7 @@ type Stream interface { Deleted() bool } -// Locationer provides a LocationPath describing the path with Display Names +// LocationPather provides a LocationPath describing the path with Display Names // instead of canonical IDs type LocationPather interface { LocationPath() path.Path diff --git a/src/pkg/backup/details/details_test.go b/src/pkg/backup/details/details_test.go index 41dcf1049..170347027 100644 --- a/src/pkg/backup/details/details_test.go +++ b/src/pkg/backup/details/details_test.go @@ -234,7 +234,7 @@ func (suite *DetailsUnitSuite) TestDetailsModel_Path() { Entries: test.ents, }, } - assert.Equal(t, test.expectRepoRefs, d.Paths()) + assert.ElementsMatch(t, test.expectRepoRefs, d.Paths()) }) } }