From bb0502ff4429580e363be708ff301c35479144e3 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 28 Feb 2021 18:28:21 +0900 Subject: Check gofmt in `make test` --- src/options_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/options_test.go') diff --git a/src/options_test.go b/src/options_test.go index b1068964..791b55d4 100644 --- a/src/options_test.go +++ b/src/options_test.go @@ -102,7 +102,7 @@ func TestIrrelevantNth(t *testing.T) { t.Errorf("nth should be empty: %v", opts.Nth) } } - for _, words := range [][]string{[]string{"--nth", "..,3", "+x"}, []string{"--nth", "3,1..", "+x"}, []string{"--nth", "..-1,1", "+x"}} { + for _, words := range [][]string{{"--nth", "..,3", "+x"}, {"--nth", "3,1..", "+x"}, {"--nth", "..-1,1", "+x"}} { { opts := defaultOptions() parseOptions(opts, words) -- cgit v1.2.3