# HG changeset patch # User zaitsev.serge # Date 1417799146 0 # Node ID d647affd8ae9007aa226e5ed90d52e693d204510 # Parent 45a9e1fac18e52f27be2f264ce69d89fef71c4da fixed eval func prototype in tests diff -r 45a9e1fac18e -r d647affd8ae9 zs_test.go --- a/zs_test.go Fri Dec 05 16:59:56 2014 +0000 +++ b/zs_test.go Fri Dec 05 17:05:46 2014 +0000 @@ -49,8 +49,8 @@ } 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"}