packages feed

th-test-utils 1.1.0 → 1.1.1

raw patch · 3 files changed

+24/−10 lines, 3 filesdep ~template-haskell

Dependency ranges changed: template-haskell

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ ## Upcoming +## 1.1.1++* Support GHC 9.2+ ## 1.1.0  * Rewrite with `runTestQ`, allowing for both recoverable `Q` actions and mocked `Q` actions in `IO`.
src/Language/Haskell/TH/TestUtils.hs view
@@ -289,3 +289,15 @@     , whenMocked = Unsupported "qAddForeignFile"     } #endif++#if MIN_VERSION_template_haskell(2,18,0)+  qPutDoc loc doc = use Override+    { whenAllowed = qPutDoc loc doc+    , whenMocked = Unsupported "qPutDoc"+    }++  qGetDoc loc = use Override+    { whenAllowed = qGetDoc loc+    , whenMocked = Unsupported "qGetDoc"+    }+#endif
th-test-utils.cabal view
@@ -1,13 +1,11 @@ cabal-version: >= 1.10 --- This file has been generated from package.yaml by hpack version 0.33.0.+-- This file has been generated from package.yaml by hpack version 0.34.4. -- -- see: https://github.com/sol/hpack------ hash: 2ec6fa51cea97a219a17187389530388c5e93cfe52e0ae659b249dbb68a5171b  name:           th-test-utils-version:        1.1.0+version:        1.1.1 synopsis:       Utility functions for testing Template Haskell code description:    Utility functions for testing Template Haskell code, including                 functions for testing failures in the Q monad.@@ -39,9 +37,9 @@   ghc-options: -Wall   build-depends:       base >=4.9 && <5-    , template-haskell >=2.11.1.0 && <2.17-    , th-orphans >=0.13.4 && <0.13.11-    , transformers >=0.5.2 && <0.5.7+    , template-haskell >=2.11.1.0 && <2.19+    , th-orphans >=0.13.4 && <0.14+    , transformers >=0.5.2 && <0.6   if impl(ghc >= 8.0)     ghc-options: -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wnoncanonical-monad-instances   if impl(ghc < 8.8)@@ -64,10 +62,10 @@     , tasty     , tasty-golden     , tasty-hunit-    , template-haskell >=2.11.1.0 && <2.17-    , th-orphans >=0.13.4 && <0.13.11+    , template-haskell >=2.11.1.0 && <2.19+    , th-orphans >=0.13.4 && <0.14     , th-test-utils-    , transformers >=0.5.2 && <0.5.7+    , transformers >=0.5.2 && <0.6   if impl(ghc >= 8.0)     ghc-options: -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wnoncanonical-monad-instances   if impl(ghc < 8.8)