|
|
@ -22,3 +22,21 @@ Feature: HTML |
|
|
""" |
|
|
""" |
|
|
When I successfully run `liche foo.html` |
|
|
When I successfully run `liche foo.html` |
|
|
Then the stderr should contain exactly "" |
|
|
Then the stderr should contain exactly "" |
|
|
|
|
|
|
|
|
|
|
|
Scenario: Ignore id reference |
|
|
|
|
|
Given a file named "foo.html" with: |
|
|
|
|
|
""" |
|
|
|
|
|
<!DOCTYPE html> |
|
|
|
|
|
<html> |
|
|
|
|
|
<head> |
|
|
|
|
|
<title>My title</title> |
|
|
|
|
|
</head> |
|
|
|
|
|
<body> |
|
|
|
|
|
<div id="foo"> |
|
|
|
|
|
<a href="#foo">Google</a> |
|
|
|
|
|
</div> |
|
|
|
|
|
</body> |
|
|
|
|
|
</html> |
|
|
|
|
|
""" |
|
|
|
|
|
When I successfully run `liche foo.html` |
|
|
|
|
|
Then the stderr should contain exactly "" |
|
|
|