From 1a2b846d3338d87b07d9e94899a79b5edbfa49f8 Mon Sep 17 00:00:00 2001 From: Pierre Le Marre Date: Fri, 7 Jun 2024 17:23:51 +0200 Subject: [PATCH] text: Restrict GHC range to pass the tests --- .../unicode-data-text/test/Unicode/Text/CaseSpec.hs | 6 +++--- experimental/unicode-data-text/unicode-data-text.cabal | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/experimental/unicode-data-text/test/Unicode/Text/CaseSpec.hs b/experimental/unicode-data-text/test/Unicode/Text/CaseSpec.hs index ec0c11e4..a0fd1346 100644 --- a/experimental/unicode-data-text/test/Unicode/Text/CaseSpec.hs +++ b/experimental/unicode-data-text/test/Unicode/Text/CaseSpec.hs @@ -22,8 +22,10 @@ does not match the version of this package. | 9.0.[1-2] | 4.15.0 | 12.1 | | 9.2.[1-6] | 4.16.0 | 14.0 | | 9.4.[1-4] | 4.17.0 | 14.0 | -| 9.6.1 | 4.18.0 | 15.0 | +| 9.6.[1-3] | 4.18.{0,1} | 15.0 | +| 9.6.4-5 | 4.18.2+ | 15.1 | | 9.8.1 | 4.19.0 | 15.1 | +| 9.10.1 | 4.20.0 | 15.1 | +-------------+----------------+-----------------+ -} @@ -77,5 +79,3 @@ spec = do #if MIN_VERSION_text(2,0,0) C.toCaseFold cs `shouldBe` T.toCaseFold cs #endif - - diff --git a/experimental/unicode-data-text/unicode-data-text.cabal b/experimental/unicode-data-text/unicode-data-text.cabal index fe2628a2..9fb42526 100644 --- a/experimental/unicode-data-text/unicode-data-text.cabal +++ b/experimental/unicode-data-text/unicode-data-text.cabal @@ -85,7 +85,7 @@ test-suite test unicode-data-text build-tool-depends: hspec-discover:hspec-discover >= 2.0 && < 2.12 - if impl(ghc >= 9.5.1) && impl(ghc < 9.8.0) + if impl(ghc >= 9.5.1) && impl(ghc < 9.6.4) cpp-options: -DCOMPATIBLE_GHC_UNICODE benchmark bench