Failures:
tests/Text/MMark/Extension/TestUtils.hs:30:3:
1) Text.MMark.Extension.LinkTarget.linkTarget, when link title starts with a target, when there is nothing but the target in title, works as intended, no title attribute produced
expected: "<p><a href=\"/url\" target=\"_blank\">link</a></p>\n"
but got: "<p><a target=\"_blank\" href=\"/url\">link</a></p>\n"
To rerun use: --match "/Text.MMark.Extension.LinkTarget/linkTarget/when link title starts with a target/when there is nothing but the target in title/works as intended, no title attribute produced/"
tests/Text/MMark/Extension/TestUtils.hs:30:3:
2) Text.MMark.Extension.LinkTarget.linkTarget, when link title starts with a target, when there is also a title, works as intended, target is stripped from the title
expected: "<p><a href=\"/url\" title=\"something\" target=\"_blank\">link</a></p>\n"
but got: "<p><a target=\"_blank\" href=\"/url\" title=\"something\">link</a></p>\n"
To rerun use: --match "/Text.MMark.Extension.LinkTarget/linkTarget/when link title starts with a target/when there is also a title/works as intended, target is stripped from the title/"
tests/Text/MMark/Extension/TestUtils.hs:30:3:
3) Text.MMark.Extension.ObfuscateEmail.obfuscateEmail, when URI has the mailto scheme, produces the correct HTML
expected: "<p><a href=\"javascript:void(0)\" data-email=\"[email protected]\" class=\"foo\">Enable JavaScript to see this email</a></p>\n"
but got: "<p><a class=\"foo\" data-email=\"[email protected]\" href=\"javascript:void(0)\">Enable JavaScript to see this email</a></p>\n"
To rerun use: --match "/Text.MMark.Extension.ObfuscateEmail/obfuscateEmail/when URI has the mailto scheme/produces the correct HTML/"
Randomized with seed 1167889213
Finished in 0.4321 seconds
39 examples, 3 failures
Test suite tests: FAIL
Test suite logged to:
/home/jon/Code/mmark-ext/dist-newstyle/build/x86_64-linux/ghc-8.10.7/mmark-ext-0.2.1.3/t/tests/test/mmark-ext-0.2.1.3-tests.log
0 of 1 test suites (0 of 1 test cases) passed.
cabal: Tests failed for test:tests from mmark-ext-0.2.1.3.