X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=lib%2FGruntmaster%2FDaemon%2FRunner%2FFile.pm;h=386b02c00b178886be8b04d365516205ad2fe10d;hp=a79500cd364cb01c68957790174fff0afc11aa53;hb=99d3711026b621247d46551b38f19c34f26342bd;hpb=920666a43b7af2544f3e27e7bfd6940534a18f90 diff --git a/lib/Gruntmaster/Daemon/Runner/File.pm b/lib/Gruntmaster/Daemon/Runner/File.pm index a79500c..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_004"; +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 }