Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mtojek committed Oct 13, 2021
1 parent b7bada8 commit 8a471d4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/package_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ var packageTests = []struct {
Conditions: &Conditions{
Kibana: &KibanaConditions{Version: ">=1.2.3 <=4.5.6"},
},
Categories: []string{"custom", "foo"},
},
Categories: []string{"custom", "foo"},
},
false,
"invalid category ",
Expand All @@ -67,8 +67,8 @@ var packageTests = []struct {
BasePackage: BasePackage{
Title: &title,
Description: "my description",
Categories: []string{"custom", "web"},
},
Categories: []string{"custom", "web"},
},
false,
"missing format_version",
Expand All @@ -78,8 +78,8 @@ var packageTests = []struct {
BasePackage: BasePackage{
Title: &title,
Description: "my description",
Categories: []string{"custom", "web"},
},
Categories: []string{"custom", "web"},
FormatVersion: "1.0",
},
false,
Expand All @@ -91,8 +91,8 @@ var packageTests = []struct {
Title: &title,
Description: "my description",
Version: "1.0",
Categories: []string{"custom", "web"},
},
Categories: []string{"custom", "web"},
FormatVersion: "1.0.0",
},
false,
Expand All @@ -104,8 +104,8 @@ var packageTests = []struct {
Title: &title,
Description: "my description",
Version: "1.2.3",
Categories: []string{"custom", "web"},
},
Categories: []string{"custom", "web"},
FormatVersion: "1.0.0",
},
true,
Expand Down

0 comments on commit 8a471d4

Please sign in to comment.