@@ -39,20 +39,20 @@ main = cabalTest . recordMode RecordMarked $ do
39
39
assertOutputContains " Warning: 2 imports of yops-4.config" yopping
40
40
assertOutputContains " Warning: 2 imports of yops-6.config" yopping
41
41
assertOutputContains " Warning: 2 imports of yops-8.config" yopping
42
- assertOutputContains " Warning: 2 imports of yops/ yops-3.config" yopping
43
- assertOutputContains " Warning: 2 imports of yops/ yops-5.config" yopping
44
- assertOutputContains " Warning: 2 imports of yops/ yops-7.config" yopping
45
- assertOutputContains " Warning: 2 imports of yops/ yops-9.config" yopping
42
+ assertOutputContains ( " Warning: 2 imports of " ++ ( " yops" </> " yops-3.config" )) yopping
43
+ assertOutputContains ( " Warning: 2 imports of " ++ ( " yops" </> " yops-5.config" )) yopping
44
+ assertOutputContains ( " Warning: 2 imports of " ++ ( " yops" </> " yops-7.config" )) yopping
45
+ assertOutputContains ( " Warning: 2 imports of " ++ ( " yops" </> " yops-9.config" )) yopping
46
46
47
47
log " checking that we detect when the same config is imported via many different paths"
48
48
wooping <- cabal' " v2-build" [ " --project-file=woops-0.project" , " --project-file-parser=legacy" , " --dry-run" ]
49
49
assertOutputContains " Warning: 2 imports of woops-4.config" wooping
50
50
assertOutputContains " Warning: 2 imports of woops-6.config" wooping
51
51
assertOutputContains " Warning: 2 imports of woops-8.config" wooping
52
- assertOutputContains " Warning: 2 imports of woops/ woops-3.config" wooping
53
- assertOutputContains " Warning: 2 imports of woops/ woops-5.config" wooping
54
- assertOutputContains " Warning: 2 imports of woops/ woops-7.config" wooping
55
- assertOutputContains " Warning: 2 imports of woops/ woops-9.config" wooping
56
- assertOutputContains " Warning: 10 imports of www-stackage-org/ lts-21.25.config" wooping
52
+ assertOutputContains ( " Warning: 2 imports of " ++ ( " woops" </> " woops-3.config" )) wooping
53
+ assertOutputContains ( " Warning: 2 imports of " ++ ( " woops" </> " woops-5.config" )) wooping
54
+ assertOutputContains ( " Warning: 2 imports of " ++ ( " woops" </> " woops-7.config" )) wooping
55
+ assertOutputContains ( " Warning: 2 imports of " ++ ( " woops" </> " woops-9.config" )) wooping
56
+ assertOutputContains ( " Warning: 10 imports of " ++ ( " www-stackage-org" </> " lts-21.25.config" )) wooping
57
57
58
58
return ()
0 commit comments