timers-tick 0.5.0.0 → 0.5.0.1
raw patch · 3 files changed
+9/−3 lines, 3 filesdep ~hspec
Dependency ranges changed: hspec
Files
- CHANGES +6/−0
- test/Control/Timer/TickSpec.hs +1/−1
- timers-tick.cabal +2/−2
CHANGES view
@@ -1,3 +1,9 @@+0.5.0.1+-------++- bump hspec+- released sab 13 nov 2021, 18:26:33+ 0.5.0.0 -------
test/Control/Timer/TickSpec.hs view
@@ -24,7 +24,7 @@ E.evaluate (creaTimedRes AlwaysLoop []) `shouldThrow` anyException it "creates an already elapsed timer (Reach)" $- let t = creaTimedRes (Times 1 Reach) [(1, 'a')]+ let t = creaTimedRes (Times 1 Reach) [(10, 'a')] in isExpired t `shouldBe` True it "does not allow negative durations" $ let t = creaTimedRes (Times 1 Elapse) [(0, 'a')]
timers-tick.cabal view
@@ -1,5 +1,5 @@ name: timers-tick-version: 0.5.0.0+version: 0.5.0.1 synopsis: tick based timers description: Tick-based timers and utilities, for games and discrete-time programs.@@ -36,7 +36,7 @@ HS-Source-Dirs: test, src main-is: Tests.hs build-depends: base == 4.*- , hspec >= 2.5 && < 2.9+ , hspec >= 2.5 && < 2.10 , QuickCheck == 2.14.* other-modules: Control.Timer.Tick, Control.Timer.TickSpec