From 37bf3fe9555406eeb12485c20aa99c25065e0760 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Mon, 15 Jan 2018 18:01:22 +0100 Subject: Various dependency bumps - Bump binary to 0.9 - Bump pandoc to 2.1 - Bump pandoc-citeproc to 0.13 - Bump http-types to 0.11 - Bump QuickCheck to 2.11 - Bump tasty to 1.0 - Bump tasty-hunit to 0.10 - Remove system-filepath dependency --- tests/Hakyll/Web/Html/Tests.hs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/Hakyll/Web') diff --git a/tests/Hakyll/Web/Html/Tests.hs b/tests/Hakyll/Web/Html/Tests.hs index efb4099..3d0a887 100644 --- a/tests/Hakyll/Web/Html/Tests.hs +++ b/tests/Hakyll/Web/Html/Tests.hs @@ -7,7 +7,7 @@ module Hakyll.Web.Html.Tests -------------------------------------------------------------------------------- import Data.Char (toUpper) import Test.Tasty (TestTree, testGroup) -import Test.Tasty.HUnit (assert, (@=?)) +import Test.Tasty.HUnit ((@=?)) -------------------------------------------------------------------------------- @@ -64,11 +64,11 @@ tests = testGroup "Hakyll.Web.Html.Tests" $ concat ] , fromAssertions "isExternal" - [ assert (isExternal "http://reddit.com") - , assert (isExternal "https://mail.google.com") - , assert (isExternal "//ajax.googleapis.com") - , assert (not (isExternal "../header.png")) - , assert (not (isExternal "/foo/index.html")) + [ True @=? isExternal "http://reddit.com" + , True @=? isExternal "https://mail.google.com" + , True @=? isExternal "//ajax.googleapis.com" + , False @=? isExternal "../header.png" + , False @=? isExternal "/foo/index.html" ] , fromAssertions "stripTags" -- cgit v1.2.3