Skip to content

Commit

Permalink
add error handling to deleting db in test
Browse files Browse the repository at this point in the history
  • Loading branch information
zemirco committed Mar 16, 2017
1 parent 2c256eb commit 83ed906
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,9 @@ func TestReplication(t *testing.T) {
if !r.Ok {
t.Error("expected ok to be true but got false instead")
}
client.Delete(name2)
if _, err := client.Delete(name2); err != nil {
t.Fatal(err)
}
}

func TestReplicationFilter(t *testing.T) {
Expand Down

0 comments on commit 83ed906

Please sign in to comment.