Skip to content

Commit

Permalink
flags test
Browse files Browse the repository at this point in the history
  • Loading branch information
RangelReale committed Feb 8, 2023
1 parent 36a8f11 commit 604a581
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/mockery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ func TestConfigEnvFlags(t *testing.T) {
UnrollVariadic: false,
Exported: true,
WithExpecter: true,
ReplaceType: []string{},
}

env(t, "CONFIG", expected.Config)
Expand Down Expand Up @@ -77,6 +78,7 @@ func TestConfigEnvFlags(t *testing.T) {
env(t, "UNROLL_VARIADIC", fmt.Sprint(expected.UnrollVariadic))
env(t, "EXPORTED", fmt.Sprint(expected.Exported))
env(t, "WITH_EXPECTER", fmt.Sprint(expected.WithExpecter))
env(t, "REPLACE_TYPE", strings.Join(expected.ReplaceType, ","))

initConfig(nil, nil)

Expand Down

0 comments on commit 604a581

Please sign in to comment.