Skip to content

Commit 377b6b4

Browse files
committed
stores/json: use assert
Signed-off-by: Martin Holst Swende <martin@swende.se>
1 parent db398c2 commit 377b6b4

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)