Skip to content

Commit

Permalink
Made small corrections.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnbdz committed Sep 9, 2024
1 parent e976e87 commit 3882829
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions entity/get/get_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func Test_Integration_Get(t *testing.T) {

// Clean up after test
defer func(path string) {
err := os.RemoveAll(path)
err = os.RemoveAll(path)
if err != nil {
t.Fatal(err)
}
Expand All @@ -38,7 +38,7 @@ func Test_Integration_Get(t *testing.T) {
Catalog: filepath.Join(tempDir, ".hery", "collection"),
Collection: filepath.Join(tempDir, ".hery", "collection", "amadla"),
Entities: filepath.Join(tempDir, ".hery", "collection", "amadla", "entity"),
Cache: filepath.Join(tempDir, ".hery", "collection", "amadla", "test.cache"),
Cache: filepath.Join(tempDir, ".hery", "collection", "amadla", "amadla.cache"),
}

tests := []struct {
Expand Down Expand Up @@ -109,7 +109,7 @@ func Test_Integration_Get(t *testing.T) {
for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
entityBuild := NewGetService()
err := entityBuild.Get(test.collectionName, &test.paths, test.entityURIs)
err = entityBuild.Get(test.collectionName, &test.paths, test.entityURIs)
if test.hasError {
assert.Error(t, err)
} else {
Expand Down

0 comments on commit 3882829

Please sign in to comment.