tasty-inspection-testing 0.1.0.1 → 0.2
raw patch · 3 files changed
+12/−2 lines, 3 filesdep ~basedep ~inspection-testingPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, inspection-testing
API changes (from Hackage documentation)
+ Test.Tasty.Inspection: (==~) :: Name -> Name -> Obligation
- Test.Tasty.Inspection: EqualTo :: Name -> Bool -> Property
+ Test.Tasty.Inspection: EqualTo :: Name -> Equivalence -> Property
- Test.Tasty.Inspection: infix 9 ==-
+ Test.Tasty.Inspection: infix 9 ==~
Files
- changelog.md +4/−0
- src/Test/Tasty/Inspection.hs +6/−0
- tasty-inspection-testing.cabal +2/−2
changelog.md view
@@ -1,3 +1,7 @@+# 0.2++* Support `inspection-testing-0.5`.+ # 0.1.0.1 * Support GHC 9.4.
src/Test/Tasty/Inspection.hs view
@@ -22,6 +22,9 @@ , Property(..) , (===) , (==-)+#if MIN_VERSION_inspection_testing(0,5,0)+ , (==~)+#endif , hasNoType , hasNoTypes , hasNoGenerics@@ -41,6 +44,9 @@ import Test.Tasty.Runners (TestTree(..)) import Test.Inspection (Obligation(..), testName, mkObligation, Property(..), (===), (==-), hasNoType, hasNoGenerics, hasNoTypeClasses, hasNoTypeClassesExcept, doesNotUse, coreOf)+#if MIN_VERSION_inspection_testing(0,5,0)+import Test.Inspection ((==~))+#endif import Test.Inspection.Plugin (prettyProperty) import Test.Tasty.Inspection.Internal (CheckResult)
tasty-inspection-testing.cabal view
@@ -1,5 +1,5 @@ name: tasty-inspection-testing-version: 0.1.0.1+version: 0.2 cabal-version: 1.18 build-type: Simple license: MIT@@ -29,7 +29,7 @@ other-modules: Test.Tasty.Inspection.Internal build-depends: base < 4.18, ghc,- inspection-testing >= 0.4.5 && < 0.5,+ inspection-testing >= 0.5 && < 0.6, tasty, template-haskell hs-source-dirs: src