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 8f971be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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 && ghc < 9.8.0)
cpp-options: -DCOMPATIBLE_GHC_UNICODE

benchmark bench
Expand Down

0 comments on commit 8f971be

Please sign in to comment.