summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Core/Rules
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Hakyll/Core/Rules')
-rw-r--r--tests/Hakyll/Core/Rules/Tests.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Hakyll/Core/Rules/Tests.hs b/tests/Hakyll/Core/Rules/Tests.hs
index e3d9c20..c4c0f28 100644
--- a/tests/Hakyll/Core/Rules/Tests.hs
+++ b/tests/Hakyll/Core/Rules/Tests.hs
@@ -20,7 +20,7 @@ import Hakyll.Core.Rules.Internal
import Hakyll.Web.Pandoc
import System.FilePath ((</>))
import Test.Tasty (TestTree, testGroup)
-import Test.Tasty.HUnit (Assertion, assert, (@=?))
+import Test.Tasty.HUnit (Assertion, (@=?))
import TestSuite.Util
@@ -50,7 +50,7 @@ case01 = do
checkRoute "example.mv1" (sv "mv1" "example.md")
checkRoute "example.mv2" (sv "mv2" "example.md")
checkRoute "food/example.md" (sv "metadataMatch" "example.md")
- readIORef ioref >>= assert
+ readIORef ioref >>= (True @=?)
cleanTestEnv
where
sv g = setVersion (Just g)