Release history for strictures
+ - fix failing test on MSWin32 (path separators)
+
0.001001 - 2014-10-01
- fix to test for 5.21.4 (RT#99195, Father Chrysostomos)
use if $] <= 5.010000, 'Test::More', skip_all => 'This test requires 5.10';
use Test::More qw(no_plan);
use lib::with::preamble 'use v5.10;', 't/lib';
+use File::Spec;
ok(eval { require my_given_example; 1 }, 'Loaded module');
is(result_for(-1), 'negative');
is(result_for(0), 'zero');
-is(my_given_example::my_file(), 't/lib/my_given_example.pm');
+is(my_given_example::my_file(), File::Spec->catfile(qw(t lib my_given_example.pm)));
is(my_given_example::my_line(), 12);