Skip to content

Commit

Permalink
chore: remove sorries
Browse files Browse the repository at this point in the history
  • Loading branch information
hargoniX committed Jan 10, 2025
1 parent b6c2038 commit 624e47a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/lean/run/async_surface_sleep.lean
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def oneSleep : IO Unit := do
assert! (← task.block) == 37
where
go : IO (AsyncTask Nat) := do
let interval ← Interval.mk BASE_DURATION sorry
let interval ← Interval.mk BASE_DURATION
(← interval.tick).mapIO fun _ => do
interval.stop
return 37
Expand All @@ -73,7 +73,7 @@ def doubleSleep : IO Unit := do
assert! (← task.block) == 37
where
go : IO (AsyncTask Nat) := do
let interval ← Interval.mk BASE_DURATION sorry
let interval ← Interval.mk BASE_DURATION
(← interval.tick).bindIO fun _ => do
(← interval.tick).mapIO fun _ => do
interval.stop
Expand All @@ -84,7 +84,7 @@ def resetSleep : IO Unit := do
assert! (← task.block) == 37
where
go : IO (AsyncTask Nat) := do
let interval ← Interval.mk BASE_DURATION sorry
let interval ← Interval.mk BASE_DURATION
(← interval.tick).bindIO fun _ => do
let waiter ← interval.tick
interval.reset
Expand Down

0 comments on commit 624e47a

Please sign in to comment.