Browse Source

Fixed the custom_tag4 setup.

David N. Welton 12 years ago
parent
commit
5464e17829
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/src/erlydtl_functional_tests.erl

+ 1 - 1
tests/src/erlydtl_functional_tests.erl

@@ -173,7 +173,7 @@ setup("custom_tag2") ->
 setup("custom_tag3") ->
 setup("custom_tag3") ->
     {ok, [{a, <<"a1">>}], [{locale, ru}], <<"b3\n">>};
     {ok, [{a, <<"a1">>}], [{locale, ru}], <<"b3\n">>};
 setup("custom_tag4") ->
 setup("custom_tag4") ->
-    {ok, [<<"a|b">>, <<"\n">>]};
+    {ok, [], [], [<<"a|b">>, <<"\n">>]};
 setup("ssi") ->
 setup("ssi") ->
     RenderVars = [{path, filename:absname(filename:join(["tests", "input", "ssi_include.html"]))}],
     RenderVars = [{path, filename:absname(filename:join(["tests", "input", "ssi_include.html"]))}],
     {ok, RenderVars};
     {ok, RenderVars};