Skip to content

Commit

Permalink
Update expectation for non-cyclical duplicate import
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Oct 22, 2024
1 parent 1cea80f commit 1942e13
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ main = cabalTest . withRepo "repo" . recordMode RecordMarked $ do
-- +-- yops/yops-9.config (no further imports)
-- +-- yops/yops-9.config (no further imports)
log "checking that we detect when the same config is imported via many different paths"
hopping <- fails $ cabal' "v2-build" [ "--project-file=yops-0.project" ]
yopping <- fails $ cabal' "v2-build" [ "--project-file=yops-0.project" ]
assertOutputContains "duplicate import of yops/yops-3.config" yopping

log "checking bad conditional"
badIf <- fails $ cabal' "v2-build" [ "--project-file=bad-conditional.project" ]
Expand Down

0 comments on commit 1942e13

Please sign in to comment.