aboutsummaryrefslogtreecommitdiff
path: root/expr_test.go
diff options
context:
space:
mode:
authorFumitoshi Ukai <fumitoshi.ukai@gmail.com>2015-06-12 23:51:38 +0900
committerFumitoshi Ukai <fumitoshi.ukai@gmail.com>2015-06-18 13:29:49 +0900
commit7c9aa9f17d5f8f27aed62b5520b8fbc6be0103ac (patch)
tree3529e0da88dee981c07dfca3d9e64141c2833a58 /expr_test.go
parentb234e27aaedad3965c64eb8008a8216934f83437 (diff)
parseExpr less allocation
Diffstat (limited to 'expr_test.go')
-rw-r--r--expr_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/expr_test.go b/expr_test.go
index 7c9ac49..dbf715a 100644
--- a/expr_test.go
+++ b/expr_test.go
@@ -281,7 +281,7 @@ func TestParseExpr(t *testing.T) {
},
},
} {
- val, _, err := parseExpr([]byte(tc.in), nil)
+ val, _, err := parseExpr([]byte(tc.in), nil, true)
if tc.isErr {
if err == nil {
t.Errorf(`parseExpr(%q)=_, _, nil; want error`, tc.in)