Skip to content

Commit

Permalink
TestML should support 5.8.1
Browse files Browse the repository at this point in the history
// is 5.10
claimed to support 5.6.1
  • Loading branch information
ingydotnet committed Feb 8, 2014
1 parent 2d78f39 commit 2100bcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions lib/TestML.pm
@@ -1,5 +1,3 @@
use 5.006001;

package TestML;
use TestML::Base;

Expand Down
4 changes: 2 additions & 2 deletions lib/TestML/Runtime.pm
Expand Up @@ -184,8 +184,8 @@ sub lookup_callable {

sub get_point {
my ($self, $name) = @_;
my $value = $self->function->getvar('Block')->{points}{$name}
// return;
my $value = $self->function->getvar('Block')->{points}{$name};
defined $value or return;
if ($value =~ s/\n+\z/\n/ and $value eq "\n") {
$value = '';
}
Expand Down

0 comments on commit 2100bcc

Please sign in to comment.