Skip to content

Commit

Permalink
Correcting cut n paste error
Browse files Browse the repository at this point in the history
Body of test function test_negative_60_minutes_previous_hour
copied to test_negative_hour_and_minute_roll_over.
  • Loading branch information
m-charlton committed Jul 12, 2023
1 parent 09c1ff4 commit cd50e3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/practice/clock/run_test.v
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ fn test_negative_60_minutes_previous_hour() {
}

fn test_negative_hour_and_minute_roll_over() {
c := new_clock(2, -60)
assert c.string() == '01:00'
c := new_clock(-25, -160)
assert c.string() == '20:20'
}

fn test_negative_hour_and_minute_roll_over_continuously() {
Expand Down

0 comments on commit cd50e3d

Please sign in to comment.