Skip to content

Commit

Permalink
test: metaSwitch
Browse files Browse the repository at this point in the history
  • Loading branch information
jshlbrd committed Dec 18, 2023
1 parent 5fc2a30 commit 4d0b5f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions transform/meta_switch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var metaSwitchTests = []struct {
"if",
config.Config{
Settings: map[string]interface{}{
"switch": []struct {
"cases": []struct {
Condition condition.Config `json:"condition"`
Transform config.Config `json:"transform"`
}{
Expand Down Expand Up @@ -69,7 +69,7 @@ var metaSwitchTests = []struct {
"if_else",
config.Config{
Settings: map[string]interface{}{
"switch": []struct {
"cases": []struct {
Condition condition.Config `json:"condition"`
Transform config.Config `json:"transform"`
}{
Expand Down Expand Up @@ -124,7 +124,7 @@ var metaSwitchTests = []struct {
"if_else_if",
config.Config{
Settings: map[string]interface{}{
"switch": []struct {
"cases": []struct {
Condition condition.Config `json:"condition"`
Transform config.Config `json:"transform"`
}{
Expand Down

0 comments on commit 4d0b5f6

Please sign in to comment.