From ab7117d6326513f942d6b1b8b261835041dd0c41 Mon Sep 17 00:00:00 2001 From: Graham Ollis Date: Fri, 26 Jul 2013 05:58:36 -0400 Subject: [PATCH] change regex to fix test --- Changes | 1 + t/tt_plugin_lite_app.t | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 93cbddc..611ded4 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ Revision history for Mojolicious::Plugin::TtRenderer {{$NEXT}} + - Template-Toolkit 2.25 compatability 1.46 May 19, 2013 - Mojolicious 4.0 compatability diff --git a/t/tt_plugin_lite_app.t b/t/tt_plugin_lite_app.t index 8c8df8a..aa562ce 100644 --- a/t/tt_plugin_lite_app.t +++ b/t/tt_plugin_lite_app.t @@ -51,7 +51,7 @@ my $t = Test::Mojo->new; # Simple TT template $t->get_ok('/')->status_is(200) ->content_like(qr/test123456/); -$t->get_ok('/blow')->status_is(500)->content_like(qr/file error - doesnotexist\.tt: No such file or directory/); +$t->get_ok('/blow')->status_is(500)->content_like(qr/file error - (templates\/)?doesnotexist\.tt: (No such file or directory|not found)/); if(eval q{ use Devel::Cycle; 1 }) {