summaryrefslogtreecommitdiffstats
path: root/src/options_test.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2021-02-28 18:28:21 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2021-02-28 18:28:21 +0900
commitbb0502ff4429580e363be708ff301c35479144e3 (patch)
treed2ec8db2becfdfa09d8d622786ddcfed0e0b2d2a /src/options_test.go
parentc256442245836d959f329c10c4b2476a7f438ced (diff)
Check gofmt in `make test`
Diffstat (limited to 'src/options_test.go')
-rw-r--r--src/options_test.go2
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)