Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[t/spec] README: section about CWD in test files

git-svn-id: c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
commit cbe775aa3bce10a2250658e92023db2b2be2c8f7 1 parent 25b9135
moritz authored
Showing with 6 additions and 0 deletions.
  1. +5 −0 README
  2. +1 −0  S06-advanced_subroutine_features/return_function.t
@@ -91,3 +91,8 @@ to run, where unfudged tests are just passed through unchanged as *.t.
Each test comes through as either fudged or not, but never both.
The test harness then runs the selected test files as it normally
would (it shouldn't care whether they are named *.t or *.humpty).
+In cases where the current working directory makes a difference, the tests
+assume that the working directory is the root of the test suite, so that the
+relative path to itself is t/spec/S\d\d-$section/$filename.
1  S06-advanced_subroutine_features/return_function.t
@@ -22,3 +22,4 @@ use Test; plan 4;
is($rv2, Pair, "returned Pair object 2");
+# vim: ft=perl6
Please sign in to comment.
Something went wrong with that request. Please try again.