From 2809a97ff89a692c54a507875636ccef2ea7dda7 Mon Sep 17 00:00:00 2001 From: Marcin Swiderski Date: Thu, 21 Nov 2024 21:41:58 +0100 Subject: [PATCH] Move test types into test function Signed-off-by: Marcin Swiderski --- ast/ast_test.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ast/ast_test.go b/ast/ast_test.go index 4f13e49..53a0379 100644 --- a/ast/ast_test.go +++ b/ast/ast_test.go @@ -11,12 +11,11 @@ import ( "github.com/cedar-policy/cedar-go/types" ) -type CustomString string -type CustomBool bool -type CustomInt int -type CustomInt64 int64 - func TestASTByTable(t *testing.T) { + type CustomString string + type CustomBool bool + type CustomInt int + type CustomInt64 int64 t.Parallel() tests := []struct { name string