Skip to content

Commit

Permalink
Fix names of expected failures for import tests (#2269)
Browse files Browse the repository at this point in the history
05f93e0 had updated the test logic to remove the `A.dhall` suffix from
the test name prefix, but didn't update the names of the expected
test failures.
  • Loading branch information
sjakobi authored Jul 30, 2021
1 parent 05f93e0 commit 8aed637
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dhall/tests/Dhall/Test/Import.hs
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ successTest prefix = do
let directoryString = FilePath.takeDirectory inputPath

let expectedFailures =
[ importDirectory </> "success/unit/cors/TwoHopsA.dhall"
, importDirectory </> "success/unit/cors/SelfImportAbsoluteA.dhall"
, importDirectory </> "success/unit/cors/AllowedAllA.dhall"
, importDirectory </> "success/unit/cors/SelfImportRelativeA.dhall"
, importDirectory </> "success/unit/cors/OnlyGithubA.dhall"
[ importDirectory </> "success/unit/cors/TwoHops"
, importDirectory </> "success/unit/cors/SelfImportAbsolute"
, importDirectory </> "success/unit/cors/AllowedAll"
, importDirectory </> "success/unit/cors/SelfImportRelative"
, importDirectory </> "success/unit/cors/OnlyGithub"
]

Test.Util.testCase prefix expectedFailures (do
Expand Down

0 comments on commit 8aed637

Please sign in to comment.