Commit 989dd2c0 authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

"expected_size" has to be substituted as well

parent 3f660b0d
......@@ -76,7 +76,7 @@ sub _validate_tests {
die "The SQL query must be provided" unless $test->{query};
die "The description must be provided" unless $test->{description};
$test->{subst_query} = $self->param_substitute($test->{query});
my $expected_size = $test->{expected_size} || '';
my $expected_size = $self->param_substitute($test->{expected_size} || '');
unless ($expected_size =~ /^\s*(=|==|>|>=|<|<=|<>|!=|)\s*(\d*)\s*$/) {
die "Cannot interpret the 'expected_size' parameter: '$expected_size'";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment