Skip to content

Commit c9ebda7

Browse files
cydparsermergify[bot]
authored andcommitted
Revert "Fix failing issue-5055 tests"
This reverts commit 59023ff.
1 parent 366b3e0 commit c9ebda7

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 "main-is" or the field is not present in all conditional branches.
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
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 "main-is" or the field is not present in all conditional branches.
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

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

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

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

-2
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,3 @@ 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)