diff options
| author | Fumitoshi Ukai <fumitoshi.ukai@gmail.com> | 2015-06-25 15:56:10 +0900 |
|---|---|---|
| committer | Fumitoshi Ukai <fumitoshi.ukai@gmail.com> | 2015-06-25 15:56:10 +0900 |
| commit | 55c8fa902be5fedfc119140930cfb9692d31e7f4 (patch) | |
| tree | be2eb95ee1091a87fc0742c159dcc24d5ebe2638 /expr_test.go | |
| parent | 3ec25b5014de413895bf81766229048566611686 (diff) | |
unexport Func and Expr
Diffstat (limited to 'expr_test.go')
| -rw-r--r-- | expr_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/expr_test.go b/expr_test.go index a7f2fe3..75bc3d1 100644 --- a/expr_test.go +++ b/expr_test.go @@ -47,7 +47,7 @@ func TestParseExpr(t *testing.T) { }, { in: "$foo", - val: Expr{&varref{varname: literal("f")}, literal("oo")}, + val: expr{&varref{varname: literal("f")}, literal("oo")}, }, { in: "$(foo)", @@ -63,7 +63,7 @@ func TestParseExpr(t *testing.T) { }, { in: "$(subst $(space),$(,),$(foo))/bar", - val: Expr{ + val: expr{ &funcSubst{ fclosure: fclosure{ args: []Value{ @@ -95,7 +95,7 @@ func TestParseExpr(t *testing.T) { &varref{ varname: literal(""), }, - Expr{ + expr{ literal(","), &varref{ varname: literal("foo"), @@ -129,7 +129,7 @@ func TestParseExpr(t *testing.T) { }, { in: `$(shell echo ')')`, - val: Expr{ + val: expr{ &funcShell{ fclosure: fclosure{ args: []Value{ @@ -154,7 +154,7 @@ func TestParseExpr(t *testing.T) { }, { in: `${shell echo '}'}`, - val: Expr{ + val: expr{ &funcShell{ fclosure: fclosure{ args: []Value{ |
