Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
update flag dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
radtriste committed Jan 21, 2021
1 parent 5f37d57 commit 9698fc5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions go.mod
Expand Up @@ -24,6 +24,7 @@ require (
github.com/operator-framework/operator-lifecycle-manager v0.0.0-20200321030439-57b580e57e88
github.com/operator-framework/operator-marketplace v0.0.0-20190919183128-4ef67b2f50e9
github.com/spf13/cobra v1.1.1
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.6.1
go.uber.org/zap v1.15.0
golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 // indirect
Expand Down
3 changes: 2 additions & 1 deletion test/config/config.go
Expand Up @@ -15,10 +15,11 @@
package config

import (
"flag"
"path/filepath"

"github.com/kiegroup/kogito-cloud-operator/pkg/version"

flag "github.com/spf13/pflag"
)

// TestConfig contains the information about the tests environment
Expand Down
5 changes: 3 additions & 2 deletions test/main_test.go
Expand Up @@ -15,7 +15,6 @@
package test

import (
"flag"
"fmt"
"io"
"os"
Expand All @@ -29,6 +28,8 @@ import (
"github.com/kiegroup/kogito-cloud-operator/test/config"
"github.com/kiegroup/kogito-cloud-operator/test/framework"
"github.com/kiegroup/kogito-cloud-operator/test/steps"

flag "github.com/spf13/pflag"
)

const (
Expand All @@ -50,8 +51,8 @@ var (
)

func init() {
godog.BindCommandLineFlags("godog.", &godogOpts)
config.BindFlags(flag.CommandLine)
godog.BindCommandLineFlags("godog.", &godogOpts)
}

func TestMain(m *testing.M) {
Expand Down

0 comments on commit 9698fc5

Please sign in to comment.