Skip to content

Commit d3adb26

Browse files
committed
make a non trival test pass
1 parent d3efeaa commit d3adb26

File tree

2 files changed

+12
-22
lines changed

2 files changed

+12
-22
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
cabal-version: 3.0
2+
name: bounded
3+
version: 0
4+
synopsis: The -any none demo
5+
build-type: Simple
6+
7+
library
8+
default-language: Haskell2010
9+
exposed-modules: AnyNone
10+
build-depends: base <5

Cabal-tests/tests/PrinterTests.hs

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -55,28 +55,8 @@ tests = testGroup "printer tests"
5555
-- Parse some cabal file - print it like cabal file
5656
printExact :: TestTree
5757
printExact = testGroup "printExact"
58-
[ testParsePrintExact "anynone.cabal"
59-
-- , warningTest "nbsp.cabal"
60-
-- , warningTest "tab.cabal"
61-
-- , warningTest "utf8.cabal"
62-
-- , warningTest "bool.cabal"
63-
-- , warningTest "versiontag.cabal"
64-
-- , warningTest "newsyntax.cabal"
65-
-- , warningTest "oldsyntax.cabal"
66-
-- , warningTest "deprecatedfield.cabal"
67-
-- , warningTest "subsection.cabal"
68-
-- , warningTest "unknownfield.cabal"
69-
-- , warningTest "unknownsection.cabal"
70-
-- , warningTest "trailingfield.cabal"
71-
-- , warningTest "doubledash.cabal"
72-
-- , warningTest "multiplesingular.cabal"
73-
-- , warningTest "wildcard.cabal"
74-
-- , warningTest "operator.cabal"
75-
-- , warningTest "specversion-a.cabal"
76-
-- , warningTest "specversion-b.cabal"
77-
-- , warningTest "specversion-c.cabal"
78-
-- -- TODO: not implemented yet
79-
-- , warningTest PWTExtraTestModule "extratestmodule.cabal"
58+
[ testParsePrintExact "bounded.cabal"
59+
-- , testParsePrintExact "anynone.cabal" -- TODO version ranges
8060
]
8161

8262
testParsePrintExact :: FilePath -> TestTree

0 commit comments

Comments
 (0)