Skip to content

Commit

Permalink
test: Fix invalid test html (#1502)
Browse files Browse the repository at this point in the history
This patch fixes some HTML issues (extra closing tags, mismatched tags, etc). This enables us to run Prettier over our HTML files (PR incoming).

I assume these HTML issues were accidental 🤷‍♀️

## Reviewer checks

**Required fields, to be filled out by PR reviewer(s)**
- [x] Follows the commit message policy, appropriate for next version
- [x] Has documentation updated, a DU ticket, or requires no documentation change
- [x] Includes new tests, or was unnecessary
- [x] Code is reviewed for security by: @JKODU
  • Loading branch information
stephenmathieson authored and WilcoFiers committed Apr 18, 2019
1 parent 430b07f commit 8d85082
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/integration/full/incomplete/th-has-data-cells.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<tr> <th>hi</th> <td></td> </tr>
</table>
<table id="table3">
<tr> <td>axe</td> <td role="columnheader">AXE</th> </tr>
<tr> <td>axe</td> <td role="columnheader">AXE</td> </tr>
</table>
</div>
<div id="mocha"></div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" xml:lang="En"></html>
<html lang="en" xml:lang="En">
<head>
<link rel="stylesheet" type="text/css" href="/node_modules/mocha/mocha.css" />
<script src="/node_modules/mocha/mocha.js"></script>
Expand Down
1 change: 0 additions & 1 deletion test/integration/rules/label/label.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,4 @@
<input id="pass-gh1176" title="Hi">
</div>

</div>
</form>
2 changes: 1 addition & 1 deletion test/integration/rules/p-as-heading/p-as-heading.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
</div>

<div>
<p id="failed3"><b><i>Some text</b></i></p>
<p id="failed3"><b><i>Some text</i></b></p>
<p>A paragraph!</p>
</div>

Expand Down

0 comments on commit 8d85082

Please sign in to comment.