aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2021-03-24 13:50:29 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2021-05-04 20:47:52 +0530
commit90982c3e47f8af98fda3bd5617a3d1bc9acd871d (patch)
tree25816504d22f5e8ef08b932021323c2d7531884c /src/tests
parenta probable fix for tests (diff)
downloadsl0ppij-90982c3e47f8af98fda3bd5617a3d1bc9acd871d.tar.gz
sl0ppij-90982c3e47f8af98fda3bd5617a3d1bc9acd871d.tar.xz
sl0ppij-90982c3e47f8af98fda3bd5617a3d1bc9acd871d.zip
Some documentation an ClientOsApi stuff
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/fakes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/fakes.rs b/src/tests/fakes.rs
index 342353f6..43d100bf 100644
--- a/src/tests/fakes.rs
+++ b/src/tests/fakes.rs
@@ -172,7 +172,7 @@ impl ClientOsApi for FakeInputOutput {
}
}
if self.stdin_commands.lock().unwrap().len() == 1 {
- std::thread::sleep_ms(100);
+ std::thread::sleep(Duration::from_millis(100));
}
self.stdin_commands
.lock()