mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Address clippy lint for debounce test
This commit is contained in:
parent
749e760cf5
commit
4217fc9bf6
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ add_test!("test_debounce_timeout", || {
|
|||
// Wait 75 msec, then enqueue something else; this should spawn a new thread.
|
||||
std::thread::sleep(timeout + timeout / 2);
|
||||
assert!(data.running.load(Ordering::Relaxed) == 1);
|
||||
let token3 = data.db.perform(handler.clone());
|
||||
let token3 = data.db.perform(handler);
|
||||
assert!(token3 > token2);
|
||||
|
||||
// Release all the threads.
|
||||
|
|
Loading…
Reference in a new issue