logo

auto_linker

AutoLinker-shim, based on https://git.pleroma.social/pleroma/auto_linker git clone https://hacktivis.me/git/auto_linker.git
commit: 02d7cb1eba656627a183345dc1b77d78e7dce103
parent e8b6ec89c94e5a05813d0d68e8bcc24230d3e059
Author: Egor Kislitsyn <egor@kislitsyn.com>
Date:   Tue,  9 Apr 2019 13:20:48 +0700

fix test

Diffstat:

Mtest/parser_test.exs7-------
1 file changed, 0 insertions(+), 7 deletions(-)

diff --git a/test/parser_test.exs b/test/parser_test.exs @@ -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>```"