diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2021-02-28 18:28:21 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2021-02-28 18:28:21 +0900 |
commit | bb0502ff4429580e363be708ff301c35479144e3 (patch) | |
tree | d2ec8db2becfdfa09d8d622786ddcfed0e0b2d2a /src/options_test.go | |
parent | c256442245836d959f329c10c4b2476a7f438ced (diff) |
Check gofmt in `make test`
Diffstat (limited to 'src/options_test.go')
-rw-r--r-- | src/options_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |