diff options
author | Simon McVittie <smcv@debian.org> | 2018-01-23 10:18:44 +0000 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2018-01-29 22:35:29 +0000 |
commit | 4126840f8dcbf80e6231a34f9e85fb78691d2853 (patch) | |
tree | a7a958e0c2c1cc24b20d1e9c81e7308fdacf22f5 /t | |
parent | f46e429d96ead32943cb2670d7686df8c77de361 (diff) | |
download | ikiwiki-4126840f8dcbf80e6231a34f9e85fb78691d2853.tar ikiwiki-4126840f8dcbf80e6231a34f9e85fb78691d2853.tar.gz |
t: Accept optional file:// prefix on W3m-control
Diffstat (limited to 't')
-rwxr-xr-x | t/relativity.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/relativity.t b/t/relativity.t index 1dda19687..0b8b6eb4b 100755 --- a/t/relativity.t +++ b/t/relativity.t @@ -381,7 +381,7 @@ sub test_site5_w3mmode { my $redirect = run_cgi(goto => 1, PATH_INFO => '/ikiwiki.cgi', SCRIPT_NAME => '/cgi-bin/ikiwiki-w3m.cgi'); like($redirect, qr{^Content-type: text/plain\r?\n}m); - like($redirect, qr{^W3m-control: GOTO \Q$pwd\E/t/tmp/out/a/b/c/\r?\n}m); + like($redirect, qr{^W3m-control: GOTO (?:file://)?\Q$pwd\E/t/tmp/out/a/b/c/\r?\n}m); } sub test_site6_behind_reverse_proxy { |