X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=lib%2FGruntmaster%2FDaemon%2FRunner%2FFile.pm;h=386b02c00b178886be8b04d365516205ad2fe10d;hp=55afd70e1560e860d3d8f0a479c882de790e2a24;hb=99d3711026b621247d46551b38f19c34f26342bd;hpb=0005d3ad0aba39600e7dbb70c040c416f34985ac diff --git a/lib/Gruntmaster/Daemon/Runner/File.pm b/lib/Gruntmaster/Daemon/Runner/File.pm index 55afd70..386b02c 100644 --- a/lib/Gruntmaster/Daemon/Runner/File.pm +++ b/lib/Gruntmaster/Daemon/Runner/File.pm @@ -3,12 +3,13 @@ package Gruntmaster::Daemon::Runner::File; use 5.014000; use strict; use warnings; +use re '/s'; use Gruntmaster::Daemon::Constants qw/WA/; use File::Slurp qw/slurp/; use Log::Log4perl qw/get_logger/; -our $VERSION = "5999.000_002"; +our $VERSION = '5999.000_004'; ################################################## @@ -31,7 +32,7 @@ sub run{ $out =~ s/\s+$//; $ok =~ s/\s+$//; - die [WA, "Wrong answer"] if $out ne $ok; + die [WA, 'Wrong answer'] if $out ne $ok; ## no critic (RequireCarping) $meta->{tests}[$test - 1] // 0 }