diff --git a/core/condition_test.go b/core/condition_test.go index 67935658..e43697d9 100644 --- a/core/condition_test.go +++ b/core/condition_test.go @@ -7,15 +7,14 @@ import ( ) func TestCondition_evaluate(t *testing.T) { - type scenario struct { + scenarios := []struct { Name string Condition Condition Result *Result DontResolveFailedConditions bool ExpectedSuccess bool ExpectedOutput string - } - scenarios := []scenario{ + }{ { Name: "ip", Condition: Condition("[IP] == 127.0.0.1"),