Skip to content

Commit

Permalink
Adding tests to loop
Browse files Browse the repository at this point in the history
  • Loading branch information
gizas committed Oct 6, 2023
1 parent 22b219f commit 3c7eeff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions kubernetes/metadata/resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,7 @@ func Test_generateMapSubset(t *testing.T) {
"footest": "footest1",
"simplefo-example": "simplefo-example1",
},
},
{
}, {
name: "Validating ?",
key: []string{
"0?1",
Expand Down Expand Up @@ -334,15 +333,16 @@ func Test_generateMapSubset(t *testing.T) {
expectedresult: mapstr.M{
"nottomatch": "no",
},
}, {name: " //Dedot Validation",
}, {
name: " //Dedot Validation",
key: []string{
"app.kubernetes.io",
},
expectedresult: mapstr.M{
"app_kubernetes_io/name": "no",
},
},
{name: "Default code, UsegexInclude=false Validation",
}, {
name: "Default code, UsegexInclude=false Validation",
key: []string{
"app.kubernetes.io/name",
},
Expand Down

0 comments on commit 3c7eeff

Please sign in to comment.