From 7af67d0cd66430d99c911241c3d44b5b7ee3eafc Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Fri, 4 Jun 2021 20:43:08 -0700 Subject: [PATCH] Fix some minor test warnings --- tests/async_tests.rs | 3 +++ tests/tests_americas.rs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/async_tests.rs b/tests/async_tests.rs index 4ee961d..0e63c69 100644 --- a/tests/async_tests.rs +++ b/tests/async_tests.rs @@ -15,7 +15,10 @@ macro_rules! async_tests { println!(); println!("running tests"); println!(); + + #[allow(unused_mut)] let mut oks: u32 = 0; + #[allow(unused_mut)] let mut errs: u32 = 0; $( let $name = async { diff --git a/tests/tests_americas.rs b/tests/tests_americas.rs index bd71bd2..7602b72 100644 --- a/tests/tests_americas.rs +++ b/tests/tests_americas.rs @@ -3,7 +3,7 @@ mod async_tests; mod testutils; -use testutils::*; +// use testutils::*; use colored::*;