Update documentation for starting point change in version 1.5
Dagfinn Ilmari Mannsåker [Sat, 12 Sep 2015 12:43:48 +0000 (13:43 +0100)]
Commit 856d7ba updated the code, but not the docs.
Also remove unused $updir variable left behind by the same commit.

Changes
lib/Test/EOL.pm

diff --git a/Changes b/Changes
index 77c0b52..1888445 100644 (file)
--- a/Changes
+++ b/Changes
@@ -2,6 +2,9 @@ Revision history for Test-EOL
 
 {{$NEXT}}
 
+  - Update documentation for starting point change in version 1.5
+    (Dagfinn Ilmari MannsÃ¥ker)
+
 1.6       2015-07-30 21:51:00-07:00 America/Los_Angeles
   - Add 'no_test' import option to allow more composability
     (Arthur Axel fREW Schmidt)
index 860e427..a54e24b 100644 (file)
@@ -22,7 +22,6 @@ my %file_find_arg = ($] <= 5.006) ? () : (
 );
 
 my $Test  = Test::Builder->new;
-my $updir = File::Spec->updir();
 
 my $no_plan;
 
@@ -245,8 +244,8 @@ if you don't export anything, such as for a purely object-oriented module.
   all_perl_files_ok( [ \%options ], [ @directories ] )
 
 Applies C<eol_unix_ok()> to all perl files found in C<@directories> (and sub
-directories). If no <@directories> is given, the starting point is one level
-above the current running script, that should cover all the files of a typical
+directories). If no <@directories> is given, the starting point is the current
+working directory, as tests are usually run from the top directory in a typical
 CPAN distribution. A perl file is *.pl or *.pm or *.t or a file starting
 with C<#!...perl>