From 7e3f493f0c91382b94e77d179f48cd145e348fd0 Mon Sep 17 00:00:00 2001 From: TrentGL Date: Mon, 7 Oct 2024 18:02:04 -0400 Subject: [PATCH] test: use assert! --- src/common/system.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/system.rs b/src/common/system.rs index e572b9a2f..5fb82956f 100644 --- a/src/common/system.rs +++ b/src/common/system.rs @@ -2462,7 +2462,7 @@ mod test { #[test] fn check_cpu_arch() { - assert_eq!(!System::cpu_arch().is_empty(), IS_SUPPORTED_SYSTEM); + assert!(!System::cpu_arch().is_empty()); } // Ensure that the CPUs frequency isn't retrieved until we ask for it.