do not panic when logging is enalbed (#180)

This commit is contained in:
Svyatoslav Nikolsky
2020-07-10 13:23:16 +03:00
committed by Bastian Köcher
parent 3236aa8000
commit 221c7e8097
+1 -1
View File
@@ -659,7 +659,7 @@ mod tests {
|_| {},
&mut go_offline_future,
|delay| async_std::task::sleep(delay),
|| unreachable!(),
|| "Test error".into(),
);
(interval2, backoff.next_backoff().unwrap())