File tree Expand file tree Collapse file tree
tests/rust/wasm32-wasip3/src/bin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,14 +35,20 @@ async fn sleep_10ms_wait_for() {
3535 let dur = 10_000_000 ;
3636 let deadline = monotonic_clock:: now ( ) + dur;
3737 monotonic_clock:: wait_for ( dur) . await ;
38- assert ! ( monotonic_clock:: now( ) >= deadline, "wait_for never resolves before the deadline" ) ;
38+ assert ! (
39+ monotonic_clock:: now( ) >= deadline,
40+ "wait_for never resolves before the deadline"
41+ ) ;
3942}
4043
4144async fn sleep_10ms_wait_until ( ) {
4245 let dur = 10_000_000 ;
4346 let deadline = monotonic_clock:: now ( ) + dur;
4447 monotonic_clock:: wait_until ( deadline) . await ;
45- assert ! ( monotonic_clock:: now( ) >= deadline, "wait_until never resolves before the deadline" ) ;
48+ assert ! (
49+ monotonic_clock:: now( ) >= deadline,
50+ "wait_until never resolves before the deadline"
51+ ) ;
4652}
4753
4854fn sleep_0ms ( ) {
@@ -71,4 +77,3 @@ fn sleep_backwards_in_time() {
7177}
7278
7379fn main ( ) { }
74-
You can’t perform that action at this time.
0 commit comments