Skip to content

Commit

Permalink
Fix t/script.t which failed on some platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Aug 28, 2024
1 parent afbe3e1 commit b86c3c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Revision history for CGI-Info
0.08
Mark Go-http-client as a robot
Support CircleCI
Fix t/script.t which failed on some platforms

0.82 Thu Aug 8 07:51:02 EDT 2024
Mark ClaudeBot as a robot
Expand Down
3 changes: 1 addition & 2 deletions t/script.t
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,10 @@ PATHS: {
if($^O eq 'MSWin32') {
TODO: {
local $TODO = 'Script_dir test needs to be done on Windows';
like($i->script_dir(), qr/\/CGI-Info/i, 'Check script_dir looks right');
like($i->script_dir(), qr/$home/, 'Check script_dir looks right');
ok($i->script_path() =~ /\\.+bar\.pl$/);
}
} else {
# like($i->script_dir(), qr/\/CGI-Info/i, 'Check script_dir looks right');
like($i->script_dir(), qr/$home/, 'Check script_dir looks right');
ok($i->script_path() =~ /\/.+bar\.pl$/);
}
Expand Down

0 comments on commit b86c3c8

Please sign in to comment.