From 5828f878d844ba2476b614d3bbab9bb69f806e71 Mon Sep 17 00:00:00 2001 From: Graham Ollis Date: Sat, 22 Dec 2012 15:10:59 -0500 Subject: [PATCH] don't rely on English locale in test --- Changes | 1 + t/tt_plugin_lite_app.t | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index e9e0921..945d470 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ Revision history for Mojolicious::Plugin::TtRenderer {{$NEXT}} + - Don't rely on English locale in the test t/tt_plugin_lite_app.t 1.29 December 18, 2012 - support multiple renderer paths diff --git a/t/tt_plugin_lite_app.t b/t/tt_plugin_lite_app.t index bc93d63..6d1bb92 100644 --- a/t/tt_plugin_lite_app.t +++ b/t/tt_plugin_lite_app.t @@ -41,7 +41,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 - doesnotexist.tt:/); if(eval q{ use Devel::Cycle; 1 }) { @@ -56,4 +56,4 @@ if(eval q{ use Devel::Cycle; 1 }) fail('Cycle found') } }); -}; \ No newline at end of file +};