File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
cabal-testsuite/PackageTests/NewUpdate Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1
1
import Test.Cabal.Prelude
2
2
import Data.List (isPrefixOf )
3
3
4
- main = cabalTest $ withProjectFile " cabal.project " $ withRemoteRepo " repo " $ do
4
+ main = cabalTest $ do
5
5
6
6
skip " Flaky test failing in `curl`, see #9530"
7
7
8
+ testBody
9
+
10
+ testBody = withProjectFile " cabal.project" $ withRemoteRepo " repo" $ do
11
+
8
12
output <- last
9
13
. words
10
14
. head
Original file line number Diff line number Diff line change 1
1
import Test.Cabal.Prelude
2
2
3
- main = cabalTest $ withRemoteRepo " repo " $ do
3
+ main = cabalTest $ do
4
4
5
5
skip " Flaky test failing in `curl`, see #9530"
6
6
7
+ testBody
8
+
9
+ testBody = withRemoteRepo " repo" $ do
10
+
7
11
-- The _first_ update call causes a warning about missing mirrors, the warning
8
12
-- is platform-dependent and it's not part of the test expectations, so we
9
13
-- check the output manually.
You can’t perform that action at this time.
0 commit comments