diff --git a/test/Mustache_test.jl b/test/Mustache_test.jl index 0926a19..aacd52f 100644 --- a/test/Mustache_test.jl +++ b/test/Mustache_test.jl @@ -320,7 +320,7 @@ tpl2 = mt""" - {{#:uppercase}}{{{name}}}{{/:uppercase}} {{/:vec}} """ - view = [Dict("name" => x) for x in ("a", "b")] + vec = [Dict("name" => x) for x in ("a", "b")] _uppercase(str, render) = uppercase(render(str)) a = Mustache.render(Mustache.parse(tpla, ("<<", ">>")); vec, uppercase=_uppercase) b = Mustache.render(Mustache.parse(tplb); vec, uppercase=_uppercase)