Skip to content

Commit

Permalink
Mark method as parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilturek committed Jun 15, 2024
1 parent ad5ab3d commit db0289d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions parser/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,9 @@ func TestBoolean(t *testing.T) {
}

func TestIfExpression(t *testing.T) {
input := `if (x < y) { x }`
t.Parallel()

input := "if (x < y) { x }"

l := lexer.NewLexer(input)
p := parser.NewParser(l)
Expand Down Expand Up @@ -545,7 +547,9 @@ func TestIfExpression(t *testing.T) {
}

func TestIfElseExpression(t *testing.T) {
input := `if (x < y) { x } else { y }`
t.Parallel()

input := "if (x < y) { x } else { y }"

l := lexer.NewLexer(input)
p := parser.NewParser(l)
Expand Down

0 comments on commit db0289d

Please sign in to comment.