Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Shushlin <v.shushlin@gmail.com>2020-05-08 15:13:19 +0300
committerVladimir Shushlin <v.shushlin@gmail.com>2020-05-08 15:13:19 +0300
commit26a4f0247516ef896b680773bea5bf71bfe0e68e (patch)
treed13223ae3b28e0b3d18ba79fe507234bf67bb55b /internal/validateargs/validateargs_test.go
parent3d60bf10dafec57eb89f8194d18402a69f29c701 (diff)
Test that standart arguments are allowed260-secrets-from-file-only
Diffstat (limited to 'internal/validateargs/validateargs_test.go')
-rw-r--r--internal/validateargs/validateargs_test.go4
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) {