From 8e1cf9a0f8b78076bc42b8f996b64b77c3665142 Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Sun, 29 Dec 2024 19:05:59 -0500 Subject: [PATCH] Fixup version range of NonConfCheck/PackageVersionsStraddle --- .../Check/NonConfCheck/PackageVersionsStraddle/cabal.out | 8 +------- .../Check/NonConfCheck/PackageVersionsStraddle/pkg.cabal | 4 ++-- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/cabal-testsuite/PackageTests/Check/NonConfCheck/PackageVersionsStraddle/cabal.out b/cabal-testsuite/PackageTests/Check/NonConfCheck/PackageVersionsStraddle/cabal.out index a8e84640cdb..37aa169b416 100644 --- a/cabal-testsuite/PackageTests/Check/NonConfCheck/PackageVersionsStraddle/cabal.out +++ b/cabal-testsuite/PackageTests/Check/NonConfCheck/PackageVersionsStraddle/cabal.out @@ -1,8 +1,2 @@ # cabal check -These warnings may cause trouble when distributing the package: -Warning: [le-upper-bounds] On library, these packages have less than or equals (<=) upper bounds: - - base -Please use less than (<) for upper bounds. -Warning: [gt-lower-bounds] On library, these packages have greater than (>) lower bounds: - - base -Please use greater than or equals (>=) for lower bounds. +No errors or warnings could be found in the package. diff --git a/cabal-testsuite/PackageTests/Check/NonConfCheck/PackageVersionsStraddle/pkg.cabal b/cabal-testsuite/PackageTests/Check/NonConfCheck/PackageVersionsStraddle/pkg.cabal index b21ffe61f12..37d3948e696 100644 --- a/cabal-testsuite/PackageTests/Check/NonConfCheck/PackageVersionsStraddle/pkg.cabal +++ b/cabal-testsuite/PackageTests/Check/NonConfCheck/PackageVersionsStraddle/pkg.cabal @@ -10,6 +10,6 @@ license: GPL-3.0-or-later library exposed-modules: Foo default-language: Haskell2010 - build-depends: base > 2, - base <= 3.10 + build-depends: base >= 2, + base < 3.10