From edf2a80d0fc8bb1bed16c39ad23600c8a05f427c Mon Sep 17 00:00:00 2001 From: Vincent Esche Date: Wed, 2 Oct 2024 10:50:41 +0200 Subject: [PATCH] Fix flaky unit tests `progress::tests::debug::fmt` --- src/progress/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/progress/tests.rs b/src/progress/tests.rs index 7581b47..95a2576 100644 --- a/src/progress/tests.rs +++ b/src/progress/tests.rs @@ -322,7 +322,7 @@ mod debug { let (progress, _) = Progress::new(Task::default(), observer); - let id = ProgressId(0); + let id = progress.id(); let report = Report { progress_id: id, label: None,