diff options
author | Vladimir Shushlin <v.shushlin@gmail.com> | 2020-05-08 15:13:19 +0300 |
---|---|---|
committer | Vladimir Shushlin <v.shushlin@gmail.com> | 2020-05-08 15:13:19 +0300 |
commit | 26a4f0247516ef896b680773bea5bf71bfe0e68e (patch) | |
tree | d13223ae3b28e0b3d18ba79fe507234bf67bb55b | |
parent | 3d60bf10dafec57eb89f8194d18402a69f29c701 (diff) |
Test that standart arguments are allowed260-secrets-from-file-only
-rw-r--r-- | internal/validateargs/validateargs_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/validateargs/validateargs_test.go b/internal/validateargs/validateargs_test.go index 4ec5cd89..7bf2ec10 100644 --- a/internal/validateargs/validateargs_test.go +++ b/internal/validateargs/validateargs_test.go @@ -11,8 +11,8 @@ func TestValidParams(t *testing.T) { "-listen-http", ":3010", "-artifacts-server", "http://192.168.1.123:3000/api/v4", "-pages-domain", "127.0.0.1.xip.io"} - res := Deprecated(args) - require.Nil(t, res) + require.NoError(t, Deprecated(args)) + require.NoError(t, NotAllowed(args)) } func TestInvalidDeprecatedParms(t *testing.T) { |