Skip to content

Commit 2b3f3d1

Browse files
tejasbubanesshine
authored andcommitted
clock: update to version 2.4.0 (#870)
exercism/problem-specifications#1400 test case for exactly negative sixty minutes
1 parent 49a2479 commit 2b3f3d1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

exercises/clock/package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: exercism-clock
2-
version: 2.3.0.8
2+
version: 2.4.0.9
33

44
dependencies:
55
- base

exercises/clock/test/Tests.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ specs = do
5252
, ("negative minutes" , 1, -40, "00:20")
5353
, ("negative minutes roll over" , 1, -160, "22:20")
5454
, ("negative minutes roll over continuously" , 1, -4820, "16:40")
55+
, ("negative sixty minutes is previous hour" , 2, -60, "01:00")
5556
, ("negative hour and minutes both roll over" , -25, -160, "20:20")
5657
, ("negative hour and minutes both roll over continuously", -121, -5810, "22:10") ]
5758

0 commit comments

Comments
 (0)