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);