sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit 167eda42ab619f7572fbc3a5f07158bdcf9d4279
parent a605927dc5ae1e3a697cef2829be4e63af526645
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Sat,  2 Jan 2016 20:52:01 +0100

Use __FILE__ constant instead of "./test.t" when trying to open a file

Diffstat:
Mt/01-test.t | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/01-test.t b/t/01-test.t @@ -44,7 +44,7 @@ is($config{LOCAL_OVERRIDES}, 'FALSE', 'config{LOCAL_OVERRIDES} is good'); # 7: open_read, open_fh tests { - my $fh = open_read('./test.t'); + my $fh = open_read(__FILE__); is(ref $fh, 'GLOB', 'open_read works'); close $fh; }