mirror of
https://git.mills.io/prologic/zs.git
synced 2024-11-19 18:56:20 -05:00
fixed eval func prototype in tests
This commit is contained in:
parent
fe8ba46281
commit
e9e3299cf0
@ -49,8 +49,8 @@ this: is a content`)
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestRender(t *testing.T) {
|
func TestRender(t *testing.T) {
|
||||||
eval := func(a []string) ([]byte, error) {
|
eval := func(a []string, vars map[string]string) (string, error) {
|
||||||
return []byte("hello"), nil
|
return "hello", nil
|
||||||
}
|
}
|
||||||
vars := map[string]string{"foo": "bar"}
|
vars := map[string]string{"foo": "bar"}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user