Skip to content

Commit b7d55dd

Browse files
committed
Fix files_are_the_same test and test expected behaviour on Win32
1 parent ebce5f1 commit b7d55dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/unit-files-are-the-same.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ for my $i (0..$#test_files) {
1313
my $should_be_same = App::perlbrew::files_are_the_same($t, $t);
1414
my $should_not_be_same = App::perlbrew::files_are_the_same($t, $u);
1515

16-
ok $should_be_same;
16+
ok ($^O eq 'MSWin32' xor $should_be_same); # should return false on win32
1717
ok !$should_not_be_same;
1818
}
1919

0 commit comments

Comments
 (0)