mirror of
https://github.com/Hopiu/lychee.git
synced 2026-05-11 15:23:11 +00:00
Add failing test
This commit is contained in:
parent
24ea2482d3
commit
a75cae54b1
4 changed files with 10 additions and 4 deletions
0
fixtures/offline/404.html/.gitkeep
Normal file
0
fixtures/offline/404.html/.gitkeep
Normal file
0
fixtures/offline/another page/.gitkeep
Normal file
0
fixtures/offline/another page/.gitkeep
Normal file
|
|
@ -1,9 +1,9 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Post 2</title>
|
||||
<title>Index</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Post 2 Title</h1>
|
||||
<h1>Index Title</h1>
|
||||
<p>
|
||||
<ul>
|
||||
<li>
|
||||
|
|
@ -15,6 +15,12 @@
|
|||
<li>
|
||||
<a href="/about#fragment">About</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/another page">About</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/another%20page">About</a>
|
||||
</li>
|
||||
</ul>
|
||||
</p>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -160,8 +160,8 @@ mod cli {
|
|||
.env_clear()
|
||||
.assert()
|
||||
.success()
|
||||
.stdout(contains("Total............2"))
|
||||
.stdout(contains("Successful.......2"));
|
||||
.stdout(contains("Total............4"))
|
||||
.stdout(contains("Successful.......4"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
Loading…
Reference in a new issue