From aa34cf431efba9e886e22d4a61acdeeb9eb408c9 Mon Sep 17 00:00:00 2001 From: Joe Lim <50560759+joelim-work@users.noreply.github.com> Date: Tue, 18 Feb 2025 18:23:44 +1100 Subject: [PATCH] Fix failing test --- complete_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/complete_test.go b/complete_test.go index 51896b97..58f45327 100644 --- a/complete_test.go +++ b/complete_test.go @@ -79,10 +79,10 @@ func TestGetLocalOptWords(t *testing.T) { localOpts any exp []string }{ - {struct{ features map[string]bool }{}, []string{"feature", "feature!", "nofeature"}}, - {struct{ features map[string]int }{}, []string{"feature"}}, - {struct{ features map[string]string }{}, []string{"feature"}}, - {struct{ features map[string][]string }{}, []string{"feature"}}, + {struct{ feature map[string]bool }{}, []string{"feature", "feature!", "nofeature"}}, + {struct{ feature map[string]int }{}, []string{"feature"}}, + {struct{ feature map[string]string }{}, []string{"feature"}}, + {struct{ feature map[string][]string }{}, []string{"feature"}}, } for _, test := range tests {