Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

tests for &indir

  • Loading branch information...
commit 9b8a6da81a0845e375f95fd0f0fb53f2440562a6 1 parent 2ce433c
@moritz moritz authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 t/panda/common.t
View
9 t/panda/common.t
@@ -0,0 +1,9 @@
+use v6;
+use Test;
+use Panda::Common;
+
+plan 2;
+my $cwd = cwd;
+
+dies_ok { indir 't', { die "OH NOEZ" } }, '&indir passes exceptions on';
+is cwd(), $cwd, 'indir rewinds cwd even when exceptions were thrown';
Please sign in to comment.
Something went wrong with that request. Please try again.