Skip to content

Commit

Permalink
text: Restrict GHC range to pass the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wismill committed Jun 7, 2024
1 parent 7eab882 commit a2b2d34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions experimental/unicode-data-text/test/Unicode/Text/CaseSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
+-------------+----------------+-----------------+
-}

Expand Down Expand Up @@ -77,5 +79,3 @@ spec = do
#if MIN_VERSION_text(2,0,0)
C.toCaseFold cs `shouldBe` T.toCaseFold cs
#endif


2 changes: 1 addition & 1 deletion experimental/unicode-data-text/unicode-data-text.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a2b2d34

Please sign in to comment.