From 6baf2cbc05140271796e979ba974979103c31aa6 Mon Sep 17 00:00:00 2001 From: Nikita Vorontsov Date: Thu, 28 Aug 2025 16:50:04 +0300 Subject: [PATCH] spell fixes --- nftables_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nftables_test.go b/nftables_test.go index 844f481..b6d0f1c 100644 --- a/nftables_test.go +++ b/nftables_test.go @@ -144,7 +144,7 @@ func TestTableCreateDestroy(t *testing.T) { t.Fatalf("on Flush: %q", err.Error()) } - LookupMyTable := func() bool { + lookupMyTable := func() bool { ts, err := c.ListTables() if err != nil { t.Fatalf("on ListTables: %q", err.Error()) @@ -153,7 +153,7 @@ func TestTableCreateDestroy(t *testing.T) { return t.Name == filter.Name && t.Family == filter.Family }) } - if !LookupMyTable() { + if !lookupMyTable() { t.Fatal("AddTable doesn't create my table!") } @@ -162,7 +162,7 @@ func TestTableCreateDestroy(t *testing.T) { t.Fatalf("on Flush: %q", err.Error()) } - if LookupMyTable() { + if lookupMyTable() { t.Fatal("DestroyTable doesn't delete my table!") }