Skip to content

Commit

Permalink
Add test for long attribute value containing an "=" sign
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-janeapp committed Feb 6, 2024
1 parent a0955e0 commit c393cc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/fixtures/attributes.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
sizes="(max-width: 600px) 480px,
(max-width: 1000px) 800px,
1200px"
data-autocomplete-min-length-value=2>
data-autocomplete-min-length-value=2
data-url="https://google.ca/this-is-a-long-url-with-a-query-string?query=something">
1 change: 1 addition & 0 deletions test/fixtures/attributes.html.expected.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
srcset="image-480w.jpg 480w, image-800w.jpg 800w, image-1200w.jpg 1200w"
sizes="(max-width: 600px) 480px, (max-width: 1000px) 800px, 1200px"
data-autocomplete-min-length-value="2"
data-url="https://google.ca/this-is-a-long-url-with-a-query-string?query=something"
>

0 comments on commit c393cc6

Please sign in to comment.