Skip to content

Commit

Permalink
storage: assert IsZero after cleanup
Browse files Browse the repository at this point in the history
Oops, missed this one.
  • Loading branch information
tamird committed Jul 10, 2017
1 parent 53101d1 commit 01f95cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/storage/replica_proposal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,9 @@ func TestEvalResultIsZero(t *testing.T) {
t.Fatalf("%#v unexpectedly zero", p)
}
}()

if !p.IsZero() {
t.Fatalf("%v unexpectedly non-zero", p)
}
}
}

0 comments on commit 01f95cb

Please sign in to comment.