fixed eval func prototype in tests
このコミットが含まれているのは:
コミット
e9e3299cf0
|
@ -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"}
|
||||
|
||||
|
|
読み込み中…
新しいイシューから参照