Skip to content

Commit

Permalink
updated unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashvin-Ranjan committed Jul 5, 2021
1 parent 5204c77 commit 61bb3e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/assertions/internal-libraries.n
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ let pub main = [_: ()] -> cmd[()] {
let now = times.getTime()!
let _ = times.sleep(1000)!
// Allow some wiggle room because timing is hard
// Also note that times.sleep takes ms but times.getTime outputs seconds
assert value times.getTime()! - now > 800
assert value times.getTime()! - now > 800.0

import websocket

Expand Down

0 comments on commit 61bb3e4

Please sign in to comment.