From 01f95cb04441801f4589d8bba3a42651a94ad25f Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Mon, 10 Jul 2017 17:47:19 -0400 Subject: [PATCH] storage: assert IsZero after cleanup Oops, missed this one. --- pkg/storage/replica_proposal_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/storage/replica_proposal_test.go b/pkg/storage/replica_proposal_test.go index f9f320a80bec..dc02fdf1d27c 100644 --- a/pkg/storage/replica_proposal_test.go +++ b/pkg/storage/replica_proposal_test.go @@ -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) + } } }