From dee04945d0ba516d96eff82acdac54a02d5224bf Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Fri, 1 Oct 2021 00:00:11 -0400 Subject: [PATCH] Minor update --- core/condition_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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"),