Skip to content

Commit 2809a97

Browse files
committed
Move test types into test function
Signed-off-by: Marcin Swiderski <[email protected]>
1 parent 200793a commit 2809a97

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

ast/ast_test.go

+4-5
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@ import (
1111
"github.com/cedar-policy/cedar-go/types"
1212
)
1313

14-
type CustomString string
15-
type CustomBool bool
16-
type CustomInt int
17-
type CustomInt64 int64
18-
1914
func TestASTByTable(t *testing.T) {
15+
type CustomString string
16+
type CustomBool bool
17+
type CustomInt int
18+
type CustomInt64 int64
2019
t.Parallel()
2120
tests := []struct {
2221
name string

0 commit comments

Comments
 (0)