diff --git a/p2p/discover/table_util_test.go b/p2p/discover/table_util_test.go index 59045bf2a8..454f9f66f7 100644 --- a/p2p/discover/table_util_test.go +++ b/p2p/discover/table_util_test.go @@ -241,6 +241,8 @@ func checkNodesEqual(got, want []*enode.Node) error { goto NotEqual } } + } else { + return fmt.Errorf("length dismatch: got %d nodes, want %d nodes", len(got), len(want)) } return nil