summaryrefslogtreecommitdiff
path: root/cli_args_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-10-21 15:58:19 +0200
committerJakob Unterwurzacher2021-10-21 15:58:19 +0200
commitd14c9340d6fb473e9837e91db8b6e869c37ad8e5 (patch)
tree253ba3c3db8a97ba7fdcd5d59b699db92da1cea2 /cli_args_test.go
parentd583bdb79e6f05bce2451a7e220e553209da4c1d (diff)
cli: add -longnamemax
Fixes https://github.com/rfjakob/gocryptfs/issues/499
Diffstat (limited to 'cli_args_test.go')
-rw-r--r--cli_args_test.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/cli_args_test.go b/cli_args_test.go
index 6c923f4..74255f2 100644
--- a/cli_args_test.go
+++ b/cli_args_test.go
@@ -116,11 +116,12 @@ func TestConvertToDoubleDash(t *testing.T) {
func TestParseCliOpts(t *testing.T) {
defaultArgs := argContainer{
- longnames: true,
- raw64: true,
- hkdf: true,
- openssl: stupidgcm.PreferOpenSSLAES256GCM(), // depends on CPU and build flags
- scryptn: 16,
+ longnames: true,
+ longnamemax: 255,
+ raw64: true,
+ hkdf: true,
+ openssl: stupidgcm.PreferOpenSSLAES256GCM(), // depends on CPU and build flags
+ scryptn: 16,
}
type testcaseContainer struct {