Skip to content

Instantly share code, notes, and snippets.

@Tux
Created April 12, 2015 11:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tux/9d5855ae281348218123 to your computer and use it in GitHub Desktop.
Save Tux/9d5855ae281348218123 to your computer and use it in GitHub Desktop.
diff --git a/lib/Panda/Tester.pm b/lib/Panda/Tester.pm
index c86630f..741178c 100644
--- a/lib/Panda/Tester.pm
+++ b/lib/Panda/Tester.pm
@@ -17,7 +17,7 @@ method test($where, :$bone, :$prove-command = 'prove') {
if $run-default && 't'.IO ~~ :d {
withp6lib {
- my $cmd = "$prove-command -e \"$*EXECUTABLE\" -r t/";
+ my $cmd = "$prove-command -e \"$*EXECUTABLE -Ilib\" -r t/";
my $handle = pipe("$cmd 2>&1", :r);
my $output = '';
for $handle.lines {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment