aboutsummaryrefslogtreecommitdiff
path: root/cli_args_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cli_args_test.go')
-rw-r--r--cli_args_test.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/cli_args_test.go b/cli_args_test.go
index 4fb01ac..d7e28ab 100644
--- a/cli_args_test.go
+++ b/cli_args_test.go
@@ -157,6 +157,18 @@ func TestParseCliOpts(t *testing.T) {
}...)
o = defaultArgs
+ o.readdirplus = true
+ testcases = append(testcases, []testcaseContainer{
+ {
+ i: []string{"gocryptfs", "-readdirplus"},
+ o: o,
+ }, {
+ i: []string{"gocryptfs", "-o", "readdirplus"},
+ o: o,
+ },
+ }...)
+
+ o = defaultArgs
o.exclude = []string{"foo", "bar", "baz,boe"}
testcases = append(testcases, []testcaseContainer{
{