Skip to content

Commit

Permalink
Merge pull request #214 from perlpunk/remove-slash
Browse files Browse the repository at this point in the history
Remove leading slash from script name
  • Loading branch information
mergify[bot] authored Oct 9, 2024
2 parents 1d41930 + 05dfbb6 commit 39bf81a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.pm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $testapi::password //= 'nots3cr3t';

sub loadtest ($test) {
my $filename = $test =~ /\.p[my]$/ ? $test : $test . '.pm';
autotest::loadtest("/tests/$filename");
autotest::loadtest("tests/$filename");
}

sub load_install_tests() {
Expand Down

0 comments on commit 39bf81a

Please sign in to comment.