Silence warnings about Template::Provider::Encoding (RT #56310)
[catagits/Catalyst-View-TT.git] / t / lib / TestApp / View / TT / Encoding.pm
index ffa3589..ffcdbf6 100644 (file)
@@ -15,6 +15,6 @@ __PACKAGE__->config(
             copy_config => [qw(INCLUDE_PATH DEFAULT_ENCODING PRE_CHOMP POST_CHOMP)]
         }
     ],
-);
+) if eval { require Template::Provider::Encoding; };
 
 1;