Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
willscott committed Apr 9, 2020
1 parent ab21555 commit ba07d08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dual/dual_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func TestValueGetSet(t *testing.T) {
t.Fatal("failed to get expected string.")
}

val, err = lan.GetValue(ctx, "/v/hello")
_, err = lan.GetValue(ctx, "/v/hello")
if err == nil {
t.Fatal(err)
}
Expand All @@ -257,7 +257,7 @@ func TestSearchValue(t *testing.T) {
d.WAN.Validator.(record.NamespacedValidator)["v"] = test.TestValidator{}
d.LAN.Validator.(record.NamespacedValidator)["v"] = test.TestValidator{}

err := wan.PutValue(ctx, "/v/hello", []byte("valid"))
_ = wan.PutValue(ctx, "/v/hello", []byte("valid"))

valCh, err := d.SearchValue(ctx, "/v/hello", dht.Quorum(0))
if err != nil {
Expand Down

0 comments on commit ba07d08

Please sign in to comment.