Skip to content

Commit 32f1320

Browse files
committed
stores/json: use assert
1 parent d370f3e commit 32f1320

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

stores/json/store_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,5 @@ func TestConflictingAttributes(t *testing.T) {
344344
`
345345
s := new(Store)
346346
_, err := s.LoadPlainFile([]byte(data))
347-
if err != nil {
348-
t.Errorf("did not expect error, got %v", err)
349-
}
347+
assert.Nil(t, err)
350348
}

0 commit comments

Comments
 (0)