When I run the tests from the repository with prove -vlbr, then two tests (basic.tand test_control_methods) have one failure each. The failure disappears when I directly call prove -vlbr t/basic.t. Apparently prove without a path prepends ./t/ before the test files: the failure reappears when I call prove -vlbr ./t/basic.t. The patch allows for an optional ./ before the path names in the die messages.
make test passes with and without the patch.
This PR is a "side effect" of my work with test-class-moose as my July assignment in the CPAN Pull Request Challenge.
When I run the tests from the repository with
prove -vlbr
, then two tests (basic.t
andtest_control_methods
) have one failure each. The failure disappears when I directly callprove -vlbr t/basic.t
. Apparentlyprove
without a path prepends./t/
before the test files: the failure reappears when I callprove -vlbr ./t/basic.t
. The patch allows for an optional./
before the path names in thedie
messages.make test
passes with and without the patch.This PR is a "side effect" of my work with test-class-moose as my July assignment in the CPAN Pull Request Challenge.