Skip to content

Commit

Permalink
test: update html attribute order
Browse files Browse the repository at this point in the history
With bleach 5.0.0, attribute order has changed to be preserved from the
origin, rather than alphabetized for consistency.

These tests failed due to the output change.

Closes: pypa#234

Signed-off-by: Mike Fiedler <[email protected]>
  • Loading branch information
miketheman committed Apr 18, 2022
1 parent 88b786f commit 3694166
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/fixtures/test_GFM_024.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ul>
<li><input disabled type="checkbox"> Valid unchecked checkbox</li>
<li><input checked disabled type="checkbox"> Valid checked checkbox</li>
<li><input type="checkbox" disabled> Valid unchecked checkbox</li>
<li><input type="checkbox" checked disabled> Valid checked checkbox</li>
<li> Invalid enabled checkbox</li>
<li>

Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/test_GFM_img.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p><img alt="Image of Yaktocat" src="https://octodex.github.com/images/yaktocat.png"></p>
<p><img src="https://octodex.github.com/images/yaktocat.png" alt="Image of Yaktocat"></p>
<p align="center">
<img alt="Image of Yaktocat" height="100px" src="https://octodex.github.com/images/yaktocat.png" width="20%">
<img src="https://octodex.github.com/images/yaktocat.png" width="20%" height="100px" alt="Image of Yaktocat">
</p>

0 comments on commit 3694166

Please sign in to comment.