diff options
| author | Fumitoshi Ukai <fumitoshi.ukai@gmail.com> | 2015-04-16 13:33:37 +0900 |
|---|---|---|
| committer | Fumitoshi Ukai <fumitoshi.ukai@gmail.com> | 2015-04-16 13:42:50 +0900 |
| commit | da7f2553fc21cac830664f381e059636d208e253 (patch) | |
| tree | d6184458c44e6139a5598464e58a7692092edf77 /expr_test.go | |
| parent | ee5c6fcf5b284b04bc2b66cdf477b9cd118edd4e (diff) | |
introduce func compactor.
$(eval ## comment) will be nop when parsed.
Diffstat (limited to 'expr_test.go')
| -rw-r--r-- | expr_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/expr_test.go b/expr_test.go index 83b9b26..e21d66c 100644 --- a/expr_test.go +++ b/expr_test.go @@ -204,6 +204,12 @@ func TestParseExpr(t *testing.T) { }, }, }, + { + in: `$(eval ## comment)`, + val: &funcNop{ + expr: `$(eval ## comment)`, + }, + }, } { val, _, err := parseExpr([]byte(tc.in), nil) if tc.isErr { |
