summaryrefslogtreecommitdiffstats
path: root/src/options_test.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-11-03 22:49:32 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-11-03 22:49:32 +0900
commit81a88693c12507bcc460bd1150af0f48f917670c (patch)
treec4fc4449ad6f82dc834c211ec8e5a855528701c9 /src/options_test.go
parent68541e66b7b4735fc720d5298ffb3d99b115025b (diff)
Make --extended default
Close #400
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 1e9ede4e..ef86abec 100644
--- a/src/options_test.go
+++ b/src/options_test.go
@@ -100,7 +100,7 @@ func TestIrrelevantNth(t *testing.T) {
t.Errorf("nth should be empty: %s", opts.Nth)
}
}
- for _, words := range [][]string{[]string{"--nth", "..,3"}, []string{"--nth", "3,1.."}, []string{"--nth", "..-1,1"}} {
+ for _, words := range [][]string{[]string{"--nth", "..,3", "+x"}, []string{"--nth", "3,1..", "+x"}, []string{"--nth", "..-1,1", "+x"}} {
{
opts := defaultOptions()
parseOptions(opts, words)