mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-22 03:07:01 +00:00
Fix unit tests
This commit is contained in:
parent
3a697f3ce2
commit
53a1689bac
1 changed files with 4 additions and 4 deletions
|
|
@ -49,7 +49,7 @@ func TestFromFlags(t *testing.T) {
|
||||||
[]string{},
|
[]string{},
|
||||||
Config{
|
Config{
|
||||||
Files: []string{},
|
Files: []string{},
|
||||||
KubernetesVersion: "1.18.0",
|
KubernetesVersion: "master",
|
||||||
NumberOfWorkers: 4,
|
NumberOfWorkers: 4,
|
||||||
OutputFormat: "text",
|
OutputFormat: "text",
|
||||||
SchemaLocations: nil,
|
SchemaLocations: nil,
|
||||||
|
|
@ -62,7 +62,7 @@ func TestFromFlags(t *testing.T) {
|
||||||
Config{
|
Config{
|
||||||
Files: []string{},
|
Files: []string{},
|
||||||
Help: true,
|
Help: true,
|
||||||
KubernetesVersion: "1.18.0",
|
KubernetesVersion: "master",
|
||||||
NumberOfWorkers: 4,
|
NumberOfWorkers: 4,
|
||||||
OutputFormat: "text",
|
OutputFormat: "text",
|
||||||
SchemaLocations: nil,
|
SchemaLocations: nil,
|
||||||
|
|
@ -74,7 +74,7 @@ func TestFromFlags(t *testing.T) {
|
||||||
[]string{"-skip", "a,b,c"},
|
[]string{"-skip", "a,b,c"},
|
||||||
Config{
|
Config{
|
||||||
Files: []string{},
|
Files: []string{},
|
||||||
KubernetesVersion: "1.18.0",
|
KubernetesVersion: "master",
|
||||||
NumberOfWorkers: 4,
|
NumberOfWorkers: 4,
|
||||||
OutputFormat: "text",
|
OutputFormat: "text",
|
||||||
SchemaLocations: nil,
|
SchemaLocations: nil,
|
||||||
|
|
@ -86,7 +86,7 @@ func TestFromFlags(t *testing.T) {
|
||||||
[]string{"-summary", "-verbose", "file1", "file2"},
|
[]string{"-summary", "-verbose", "file1", "file2"},
|
||||||
Config{
|
Config{
|
||||||
Files: []string{"file1", "file2"},
|
Files: []string{"file1", "file2"},
|
||||||
KubernetesVersion: "1.18.0",
|
KubernetesVersion: "master",
|
||||||
NumberOfWorkers: 4,
|
NumberOfWorkers: 4,
|
||||||
OutputFormat: "text",
|
OutputFormat: "text",
|
||||||
SchemaLocations: nil,
|
SchemaLocations: nil,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue