Skip to content

Commit

Permalink
Fix the test suite on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkkrp committed Jul 13, 2020
1 parent 7683677 commit 3f97b23
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/TH.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE TemplateHaskell #-}
Expand All @@ -22,7 +23,11 @@ instance Foo Rel File


qqAbsDir :: FilePath
#ifdef mingw32_HOST_OS
qqAbsDir = foo [absdir|C:\foo\|]
#else
qqAbsDir = foo [absdir|/foo/|]
#endif

qqAbsFile :: FilePath
qqAbsFile = foo [absfile|/foo|]
Expand Down

0 comments on commit 3f97b23

Please sign in to comment.