Skip to content

Commit

Permalink
Fix the compatible ghc range for the test-suite
Browse files Browse the repository at this point in the history
  • Loading branch information
adithyaov committed Nov 29, 2023
1 parent 65cd823 commit 9c59bca
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ does not match the version of this package.
| 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.8.1 | 4.19.0 | 15.1 |
+-------------+----------------+-----------------+
-}

Expand Down
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 @@ -83,7 +83,7 @@ test-suite test
unicode-data-text
build-tool-depends:
hspec-discover:hspec-discover >= 2.0 && < 2.11
if impl(ghc >= 9.5.1)
if impl(ghc >= 9.5.1) && impl(ghc < 9.8.0)
cpp-options: -DCOMPATIBLE_GHC_UNICODE

benchmark bench
Expand Down
1 change: 1 addition & 0 deletions unicode-data/test/Unicode/CharSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ does not match the version of this package.
| 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.8.1 | 4.19.0 | 15.1 |
+-------------+----------------+-----------------+
-}

Expand Down
2 changes: 1 addition & 1 deletion unicode-data/unicode-data.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ test-suite test
, unicode-data
-- We need to match a GHC version with the same Unicode version.
-- See: test/Unicode/CharSpec.hs for compatibility table.
if impl(ghc >= 9.6.0)
if impl(ghc >= 9.6.0) && impl(ghc < 9.8.0)
cpp-options: -DCOMPATIBLE_GHC_UNICODE

benchmark bench
Expand Down

0 comments on commit 9c59bca

Please sign in to comment.