diff options
Diffstat (limited to 'tests/Hakyll/Core/Provider/Tests.hs')
-rw-r--r-- | tests/Hakyll/Core/Provider/Tests.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Hakyll/Core/Provider/Tests.hs b/tests/Hakyll/Core/Provider/Tests.hs index d1c542a..ebb2a15 100644 --- a/tests/Hakyll/Core/Provider/Tests.hs +++ b/tests/Hakyll/Core/Provider/Tests.hs @@ -9,7 +9,7 @@ module Hakyll.Core.Provider.Tests import Hakyll.Core.Metadata import Hakyll.Core.Provider import Test.Tasty (TestTree, testGroup) -import Test.Tasty.HUnit (Assertion, assert, testCase, (@=?)) +import Test.Tasty.HUnit (Assertion, testCase, (@=?)) import TestSuite.Util @@ -25,7 +25,7 @@ case01 :: Assertion case01 = do store <- newTestStore provider <- newTestProvider store - assert $ resourceExists provider "example.md" + True @=? resourceExists provider "example.md" metadata <- resourceMetadata provider "example.md" Just "An example" @=? lookupString "title" metadata |