mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
fix lint
This commit is contained in:
parent
7c7836f16f
commit
85f57f9975
2 changed files with 5 additions and 2 deletions
|
|
@ -66,7 +66,10 @@ func TestMarshalUnmarshalTransactionResponse(t *testing.T) {
|
|||
}
|
||||
|
||||
mytr := &http.TransactionResponse{}
|
||||
json.Unmarshal(data, mytr)
|
||||
err = json.Unmarshal(data, mytr)
|
||||
if err != nil {
|
||||
t.Fatalf("unmarshalling: %v", err)
|
||||
}
|
||||
|
||||
if mytr.Error != tst.tr.Error {
|
||||
t.Errorf("errors mismatch:exp/got \n%v\n%v", tst.tr.Error, mytr.Error)
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ func TestInMemTransactionStore(t *testing.T) {
|
|||
t.Fatalf("unexpected transaction for blah: %+v", t)
|
||||
}
|
||||
|
||||
trns, err = ims.Get("nope")
|
||||
_, err = ims.Get("nope")
|
||||
if err != pilosa.ErrTransactionNotFound {
|
||||
t.Fatalf("unexpected error: %v", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue