don't rely on English locale in test

This commit is contained in:
Graham Ollis committed 2012-12-22 15:10:59 -05:00
1 parent f4beaf9864
commit 5828f878d8
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -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')
}
});
};
};