fix test
This commit is contained in:
parent
e8b6ec89c9
commit
02d7cb1eba
1 changed files with 0 additions and 7 deletions
|
@ -83,13 +83,6 @@ defmodule AutoLinker.ParserTest do
|
|||
|
||||
assert parse(text, class: false, rel: false, new_window: false) == expected
|
||||
end
|
||||
text = "Check out <div class='section'>google.com</div>"
|
||||
|
||||
expected =
|
||||
"Check out <div class='section'><a href=\"http://google.com\">google.com</a></div>"
|
||||
|
||||
assert parse(text, class: false, rel: false, new_window: false) == expected
|
||||
end
|
||||
|
||||
test "excludes html with specified class" do
|
||||
text = "```Check out <div class='section'>google.com</div>```"
|
||||
|
|
Loading…
Reference in a new issue