Skip to content

Commit

Permalink
Move test types into test function
Browse files Browse the repository at this point in the history
Signed-off-by: Marcin Swiderski <[email protected]>
  • Loading branch information
forgems committed Nov 21, 2024
1 parent 200793a commit 2809a97
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ast/ast_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2809a97

Please sign in to comment.