packages feed

systranything 0.1.4.0 → 0.1.5.0

raw patch · 4 files changed

+23/−25 lines, 4 filesdep −tasty-autocollectdep ~aeson

Dependencies removed: tasty-autocollect

Dependency ranges changed: aeson

Files

systranything.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.2  name: systranything-version: 0.1.4.0+version: 0.1.5.0 synopsis: Let you put anything in the system tray homepage: https://github.com/jecaro/systranything author: Jean-Charles Quillet@@ -15,9 +15,9 @@   contains the specification of the menu items with shell commands to execute   when the items are clicked. tested-with:-  GHC == 9.8.4,-  GHC == 9.10.3,-  GHC == 9.12.2+  GHC == 9.10.1,+  GHC == 9.12.1,+  GHC == 9.14.1 extra-source-files:   cabal.project extra-doc-files:@@ -71,7 +71,7 @@   autogen-modules:     Paths_systranything   build-depends:-    aeson >= 2.1.2 && < 2.3,+    aeson >= 2.1.2 && < 2.4,     base >= 4.17.2 && < 5,     bytestring >= 0.11.5 && < 0.13,     extra >= 1.7.16 && < 1.9,@@ -119,15 +119,11 @@   other-modules:     Tests.Model.Common     Tests.Model.Root-  ghc-options: -F -pgmF=tasty-autocollect-  build-tool-depends:-    tasty-autocollect:tasty-autocollect   build-depends:     base,     hspec-expectations >= 0.8.4 && < 0.9,     systranything,     tasty >= 1.4.3 && < 1.6,-    tasty-autocollect >= 0.4.3 && < 0.5,     tasty-hunit-compat >= 0.2.0 && < 0.3,     text,     yaml,
tests/Main.hs view
@@ -1,1 +1,14 @@-{- AUTOCOLLECT.MAIN -}+module Main (main) where++import Test.Tasty (defaultMain, testGroup)+import Tests.Model.Common qualified as Model.Common+import Tests.Model.Root qualified as Model.Root++main :: IO ()+main =+  defaultMain $+    testGroup+      "Tests"+      [ Model.Common.test,+        Model.Root.test+      ]
tests/Tests/Model/Common.hs view
@@ -1,16 +1,10 @@-{- AUTOCOLLECT.TEST -}--module Tests.Model.Common-  (-  {- AUTOCOLLECT.TEST.export -}-  )-where+module Tests.Model.Common (test) where  import Data.IORef (modifyIORef, newIORef, readIORef) import Data.Text qualified as Text import Model.Common (runCommand') import Test.Hspec.Expectations (shouldBe, shouldSatisfy)-import Test.Tasty (testGroup)+import Test.Tasty (TestTree, testGroup) import Test.Tasty.HUnit (testCase)  test :: TestTree
tests/Tests/Model/Root.hs view
@@ -1,10 +1,4 @@-{- AUTOCOLLECT.TEST -}--module Tests.Model.Root-  (-  {- AUTOCOLLECT.TEST.export -}-  )-where+module Tests.Model.Root (test) where  import Data.List.NonEmpty (NonEmpty (..)) import Data.Text as Text (unlines)@@ -19,6 +13,7 @@ import Model.Root (Root (..)) import Model.SubMenu (SubMenu (..)) import Test.Hspec.Expectations (shouldBe)+import Test.Tasty (TestTree) import Test.Tasty.HUnit (testCase)  test :: TestTree