From 9992f7bf73ce86421bebacf128bee80be87e58fc Mon Sep 17 00:00:00 2001 From: ZingerLittleBee <6970999@gmail.com> Date: Wed, 20 Sep 2023 03:26:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/test/system_info_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/test/system_info_test.rs b/web/src/test/system_info_test.rs index 1c5a266..ddcee8f 100644 --- a/web/src/test/system_info_test.rs +++ b/web/src/test/system_info_test.rs @@ -64,7 +64,7 @@ mod system_info_test { #[test] fn test_get_disk_io() { - let system_info = SystemInfo::new(); + let mut system_info = SystemInfo::new(); let disk_io = system_info.get_disk_io(); assert!(disk_io.total_read >= disk_io.read); assert!(disk_io.total_write >= disk_io.write);