fixed eval func prototype in tests
git-svn-id: file:///srv/svn/repo/aya/trunk@2 cec141ff-132a-4243-88a5-ce187bd62f94
This commit is contained in:
parent
793ee8b4c8
commit
5b0b02034b
@ -49,8 +49,8 @@ this: is a content`)
|
||||
}
|
||||
|
||||
func TestRender(t *testing.T) {
|
||||
eval := func(a []string) ([]byte, error) {
|
||||
return []byte("hello"), nil
|
||||
eval := func(a []string, vars map[string]string) (string, error) {
|
||||
return "hello", nil
|
||||
}
|
||||
vars := map[string]string{"foo": "bar"}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user