Skip to content

Commit

Permalink
fix tests 2
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed Aug 23, 2019
1 parent d87b4d6 commit f72d3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/ops/timers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub fn op_global_timer(
let deadline = Instant::now() + Duration::from_millis(val as u64);
let f = t
.new_timeout(deadline)
.then(move |_| futures::future::ok(Value::Null));
.then(move |_| futures::future::ok(json!({})));

Ok(JsonOp::Async(Box::new(f)))
}

0 comments on commit f72d3f4

Please sign in to comment.