summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Core/Routes
diff options
context:
space:
mode:
authorLaurent P. René de Cotret <LaurentRDC@users.noreply.github.com>2020-05-30 08:14:21 -0400
committerGitHub <noreply@github.com>2020-05-30 14:14:21 +0200
commit8afbb62ed5e969d78d8664df205646504f52f278 (patch)
tree3a2d9046a39eb239183832f43bd7121b5b7fd16e /tests/Hakyll/Core/Routes
parent9656e78869dd8248a8558671a48d2e52dbe7edb5 (diff)
downloadhakyll-8afbb62ed5e969d78d8664df205646504f52f278.tar.gz
Miscellaneous Windows-specific fixes and CI
Diffstat (limited to 'tests/Hakyll/Core/Routes')
-rw-r--r--tests/Hakyll/Core/Routes/Tests.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Hakyll/Core/Routes/Tests.hs b/tests/Hakyll/Core/Routes/Tests.hs
index fc3d676..a3e1736 100644
--- a/tests/Hakyll/Core/Routes/Tests.hs
+++ b/tests/Hakyll/Core/Routes/Tests.hs
@@ -10,7 +10,7 @@ import Data.Maybe (fromMaybe)
import Hakyll.Core.Identifier
import Hakyll.Core.Metadata
import Hakyll.Core.Routes
-import System.FilePath ((</>))
+import System.FilePath ((</>), normalise)
import Test.Tasty (TestTree, testGroup)
import Test.Tasty.HUnit (Assertion, (@=?))
import TestSuite.Util
@@ -46,5 +46,5 @@ testRoutes expected r id' = do
store <- newTestStore
provider <- newTestProvider store
(route, _) <- runRoutes r provider id'
- Just expected @=? route
+ Just (normalise expected) @=? route
cleanTestEnv