X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-CGI-Ex;a=blobdiff_plain;f=t%2F7_template_02_view.t;h=704bad69b7c1df34ed4587c370d8d92c356a5c91;hp=dee858854a4e2457af36032e1150670637e46267;hb=8cd30501f5be7e40e26b3dc885dfe25520d39df9;hpb=6c57b3331d84010b9e2031f8e3c8937c3117e8fc diff --git a/t/7_template_02_view.t b/t/7_template_02_view.t index dee8588..704bad6 100644 --- a/t/7_template_02_view.t +++ b/t/7_template_02_view.t @@ -215,7 +215,7 @@ process_ok("[% USE view -%] CATCH view ; \"[\$error.type] \$error.info\" ; END -%]" => "[view] file error - Template_View: not found", $vars); +%]" => qr{^\Q[view] file error - Template_View: not found\E}, $vars); process_ok("[% USE view -%] [% view.print( foo ) %]" => "{ e => 2.718, pi => 3.14 }", $vars); @@ -418,9 +418,9 @@ Goodbye World! [% END %] [% END -%] [% TRY; INCLUDE foo; CATCH; error; END %] -[% foo.include_hello %]" => "file error - foo: not found +[% foo.include_hello %]" => qr{^\Qfile error - foo: not found Hello World! -", $vars); +\E}, $vars); process_ok("[% title = \"Previous Title\" -%] [% VIEW foo