From 5dc7c39f4aa30d36016c6f952fee587120531c67 Mon Sep 17 00:00:00 2001 From: Clive Jevons Date: Tue, 26 Jul 2022 15:27:05 +0200 Subject: [PATCH] fix iptables test storage usage --- pkg/iptables/iptables_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/iptables/iptables_test.go b/pkg/iptables/iptables_test.go index 8d1d8d8..e486edc 100644 --- a/pkg/iptables/iptables_test.go +++ b/pkg/iptables/iptables_test.go @@ -126,7 +126,7 @@ func TestSet(t *testing.T) { t.Fatalf("test case %q: got unexpected error %v", tc.name, err) } if len(tc.storageOut) != len(client.storage) { - t.Errorf("test case %q: expected %d rules in storage, got %d", tc.name, len(tc.appendOut), len(client.storage)) + t.Errorf("test case %q: expected %d rules in storage, got %d", tc.name, len(tc.storageOut), len(client.storage)) } else { for i := range tc.storageOut { if tc.storageOut[i].String() != client.storage[i].String() {