From 4d0b5f6b1e300d7bb26319ed72095f8dc306eb5f Mon Sep 17 00:00:00 2001 From: Josh Liburdi Date: Mon, 18 Dec 2023 19:13:03 +0000 Subject: [PATCH] test: metaSwitch --- transform/meta_switch_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/transform/meta_switch_test.go b/transform/meta_switch_test.go index eeee7bd6..ce8e4132 100644 --- a/transform/meta_switch_test.go +++ b/transform/meta_switch_test.go @@ -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"` }{ @@ -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"` }{ @@ -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"` }{