Skip to content

Commit

Permalink
point value can be an empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
ingydotnet authored and ingy@ingy.net committed Jun 2, 2013
1 parent 8f2c64f commit b9566b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/TestML/Runtime.pm
Expand Up @@ -185,7 +185,7 @@ sub lookup_callable {
sub get_point {
my ($self, $name) = @_;
my $value = $self->function->getvar('Block')->{points}{$name}
or return;
// return;
if ($value =~ s/\n+\z/\n/ and $value eq "\n") {
$value = '';
}
Expand Down

0 comments on commit b9566b5

Please sign in to comment.