Skip to content

Commit

Permalink
fix for SA4006
Browse files Browse the repository at this point in the history
  • Loading branch information
linyows committed Mar 15, 2019
1 parent f0d6c3c commit 9ae8502
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kvs/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 54,7 @@ func TestFileWrite(t *testing.T) {
}
content, err := f.Read("test")
if !reflect.DeepEqual(content, data) {
t.Error("writing is not correct")
t.Errorf("writing is not correct: %s", err)
}

// Override
Expand All @@ -65,7 65,7 @@ func TestFileWrite(t *testing.T) {
}
content2, err := f.Read("test")
if !reflect.DeepEqual(content2, data2) {
t.Errorf("writing is not correct when override: %s", content2)
t.Errorf("writing is not correct when override: %s, %s", content2, err)
}
}

Expand Down

0 comments on commit 9ae8502

Please sign in to comment.