Skip to content

Commit 59023ff

Browse files
cydparsermergify[bot]
authored andcommitted
Fix failing issue-5055 tests
1 parent 58be771 commit 59023ff

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
VERSION: Just (mkVersion [2,0])
2-
issue-5055-2.cabal:15:1: Test suite "flag-cabal-test" is missing required field "type" or the field is not present in all conditional branches. The available test types are: exitcode-stdio-1.0, detailed-0.9
2+
issue-5055-2.cabal:15:1: Test suite "flag-cabal-test" is missing required field "main-is" or the field is not present in all conditional branches.
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
VERSION: Just (mkVersion [2,0])
2-
issue-5055.cabal:15:1: Test suite "flag-cabal-test" is missing required field "type" or the field is not present in all conditional branches. The available test types are: exitcode-stdio-1.0, detailed-0.9
2+
issue-5055.cabal:15:1: Test suite "flag-cabal-test" is missing required field "main-is" or the field is not present in all conditional branches.

Cabal-tests/tests/ParserTests/regressions/issue-5055.expr

+3-5
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,9 @@ GenericPackageDescription {
213213
condTreeData = TestSuite {
214214
testName = UnqualComponentName
215215
"",
216-
testInterface =
217-
TestSuiteUnsupported
218-
(TestTypeUnknown
219-
""
220-
(mkVersion [])),
216+
testInterface = TestSuiteExeV10
217+
(mkVersion [1, 0])
218+
"FirstMain.hs",
221219
testBuildInfo = BuildInfo {
222220
buildable = True,
223221
buildTools = [],

Cabal-tests/tests/ParserTests/regressions/issue-5055.format

+2
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ test-suite flag-cabal-test
1919
build-depends: base >=4.8 && <5
2020

2121
if os(windows)
22+
type: exitcode-stdio-1.0
23+
main-is: FirstMain.hs

0 commit comments

Comments
 (0)