Skip to content

Commit

Permalink
Correct slash direction on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Nov 26, 2019
1 parent 02aaa9f commit 893d281
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/cache.t
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ CACHED: {

if($^O eq 'MSWin32') {
diag($body);
ok($body =~ /\\web\\English\\test4.cgi\/.+\.html"/m);
ok($body =~ /\\web\\English\\test4.cgi\\.+\.html"/m);
} else {
ok($body =~ /"\/web\/English\/test4.cgi\/.+\.html"/m);
}
Expand Down Expand Up @@ -439,7 +439,7 @@ CACHED: {
ok($headers !~ /^Content-Encoding: gzip/m);

if($^O eq 'MSWin32') {
ok($body =~ /\\web\\English\\test4.cgi\/.+\.html"/m);
ok($body =~ /\\web\\English\\test4.cgi\\.+\.html"/m);
} else {
ok($body =~ /"\/web\/English\/test4.cgi\/.+\.html"/m);
}
Expand Down

0 comments on commit 893d281

Please sign in to comment.