Skip to content

Commit 4ed8bf7

Browse files
committed
Added small comment on the use of toDhallPath in Dhall.Test.Tags
1 parent 7abe982 commit 4ed8bf7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dhall/tests/Dhall/Test/Tags.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ getTests = do
2929
tagsTest :: Text -> TestTree
3030
tagsTest prefix =
3131
Tasty.HUnit.testCase (Text.unpack prefix) $ do
32+
-- The use of toDhallPah is a hack to ensure we always get the same file
33+
-- paths, i.e. ones with a '.' prefixed and UNIX path separators.
3234
let inputFile = Text.unpack (Test.Util.toDhallPath prefix <> ".dhall")
3335
let outputFile = Text.unpack (prefix <> ".tags")
3436

0 commit comments

Comments
 (0)