Skip to content

Commit 7dd2577

Browse files
committed
Fix linkchecker redirection tests.
These were changed in rust-lang#84703.
1 parent a50d721 commit 7dd2577

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

src/tools/linkchecker/tests/broken_redir/redir-bad.html

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta http-equiv="refresh" content="0;URL=sometarget">
5+
<title>Redirection</title>
56
</head>
67
<body>
78
<p>Redirecting to <a href="sometarget">sometarget</a>...</p>

src/tools/linkchecker/tests/redirect_loop/redir-bad.html

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta http-equiv="refresh" content="0;URL=redir-bad.html">
5+
<title>Redirection</title>
56
</head>
67
<body>
78
<p>Redirecting to <a href="redir-bad.html">redir-bad.html</a>...</p>

src/tools/linkchecker/tests/valid/inner/redir-bad.html

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta http-equiv="refresh" content="0;URL=xxx">
5+
<title>Redirection</title>
56
</head>
67
<body>
78
<p>Redirecting to <a href="xxx">xxx</a>...</p>

src/tools/linkchecker/tests/valid/inner/redir.html

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta http-equiv="refresh" content="0;URL=redir-target.html">
5+
<title>Redirection</title>
56
</head>
67
<body>
78
<p>Redirecting to <a href="redir-target.html">redir-target.html</a>...</p>

0 commit comments

Comments
 (0)