Skip to content

Commit

Permalink
Order attributes for test
Browse files Browse the repository at this point in the history
  • Loading branch information
chasefleming committed Jan 28, 2024
1 parent 3061f7a commit 013790f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elements_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ func TestVideoWithSourceElementsAndFallbackText(t *testing.T) {
// ========== Image Map Elements ==========

func TestMapAndArea(t *testing.T) {
expectedMap := `<map name="map-name"><area href="#area1" alt="Area 1" shape="rect" coords="34,44,270,350"></map>`
expectedMap := `<map name="map-name"><area alt="Area 1" coords="34,44,270,350" href="#area1" shape="rect"></map>`
mapEl := Map(attrs.Props{attrs.Name: "map-name"},
Area(attrs.Props{
attrs.Href: "#area1",
Expand Down

0 comments on commit 013790f

Please sign in to comment.