Add perlcritic test and make code comply
[gruntmaster-daemon.git] / lib / Gruntmaster / Daemon / Runner / Verifier.pm
index 10f0287dba8e246fac67a02ece91f3efb8993398..7111f6baadc6058ac46b01ab86f12cca48181c75 100644 (file)
@@ -9,7 +9,7 @@ use File::Slurp qw/slurp/;
 use Log::Log4perl qw/get_logger/;
 use Try::Tiny;
 
-our $VERSION = '5999.000_002';
+our $VERSION = '5999.000_004';
 
 ##################################################
 
@@ -21,7 +21,7 @@ sub run{
        try {
                $meta->{files}{ver}{run}->($meta->{files}{ver}{name}, fds => [qw/0 input 3 output 1 >result/], args => [$test]);
        } catch {
-               die [WA, "Wrong answer"]
+               die [WA, 'Wrong answer'] ## no critic (RequireCarping)
        };
        scalar slurp 'result';
 }
@@ -38,7 +38,7 @@ Gruntmaster::Daemon::Runner::Verifier - Check the program output with a verifier
 =head1 SYNOPSIS
 
   use Gruntmaster::Daemon::Runner::Verifier;
-  Gruntmaster::Daemon::Runner::Verifier->run(5, $meta);
+  Gruntmaster::Daemon::Runner::Verifier::run(5, $meta);
 
 =head1 DESCRIPTION
 
This page took 0.010123 seconds and 4 git commands to generate.