Skip to content

Commit

Permalink
Added small comment on the use of toDhallPath in Dhall.Test.Tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mmhat committed Jun 12, 2024
1 parent 7abe982 commit 4ed8bf7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dhall/tests/Dhall/Test/Tags.hs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ getTests = do
tagsTest :: Text -> TestTree
tagsTest prefix =
Tasty.HUnit.testCase (Text.unpack prefix) $ do
-- The use of toDhallPah is a hack to ensure we always get the same file
-- paths, i.e. ones with a '.' prefixed and UNIX path separators.
let inputFile = Text.unpack (Test.Util.toDhallPath prefix <> ".dhall")
let outputFile = Text.unpack (prefix <> ".tags")

Expand Down

0 comments on commit 4ed8bf7

Please sign in to comment.