From a7a8576d3716a03b7216252d0b25625e9edc67a7 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 3 Oct 2012 18:28:38 -0500 Subject: don't cache rendered files in tests --- t/lib/Test/Handlebars.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 't') diff --git a/t/lib/Test/Handlebars.pm b/t/lib/Test/Handlebars.pm index 25b22d9..ececc41 100644 --- a/t/lib/Test/Handlebars.pm +++ b/t/lib/Test/Handlebars.pm @@ -35,6 +35,8 @@ sub _render_ok { my $opts = ref($_[0]) && ref($_[0]) eq 'HASH' ? shift : {}; my ($template, $env, $expected, $desc) = @_; + $opts->{cache} = 0; + my $tx = Text::Handlebars->new(%$opts); my $exception = exception { -- cgit v1.2.3