Skip to content

Commit

Permalink
fix test of PR vmg#463
Browse files Browse the repository at this point in the history
  • Loading branch information
kaorukobo committed Feb 18, 2022
1 parent 5691ae0 commit a2eea2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/markdown_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ def test_whitespace_after_urls
end

def test_auto_linked_email_utf8_issue
rd = render_with({ autolink: true }, "[email protected]\n[email protected]ü")
exp = %{<p><a href="mailto:[email protected]">[email protected]</a>」\n<a href="mailto:[email protected]">[email protected]</a>ü</p>\n}
rd = render("[email protected]\n[email protected]ü", with: [:autolink])
exp = %{<p><a href="mailto:[email protected]">[email protected]</a>」\n<a href="mailto:[email protected]">[email protected]</a>ü</p>}
assert_equal exp, rd
end

Expand Down

0 comments on commit a2eea2a

Please sign in to comment.