Add test checking for conflicting versions when build depends on ghc

This commit is contained in:
adithyaov 2020-02-07 22:12:59 +05:30 committed by Harendra Kumar
parent eb512622d8
commit 99a9b612ec
2 changed files with 15 additions and 0 deletions

View File

@ -618,6 +618,17 @@ test-suite parallel-loops
, base >= 4.8 && < 5
, random >= 1.0.0 && < 2
test-suite version-bounds
import: test-options
type: exitcode-stdio-1.0
default-language: Haskell2010
main-is: version-bounds.hs
hs-source-dirs: test
build-Depends:
streamly
, ghc
, base >= 4.8 && < 5
-------------------------------------------------------------------------------
-- Benchmarks
-------------------------------------------------------------------------------

4
test/version-bounds.hs Normal file
View File

@ -0,0 +1,4 @@
main :: IO ()
main =
print
"Version bounds do not conflict when both streamly and ghc are dependencies."