From 932f5aac1f423cf632ca8ed2b587eb14385524f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=B3nal=20Murray?= Date: Thu, 1 Aug 2024 18:55:08 +0100 Subject: [PATCH] Make clippy happy --- system-parachains/coretime/coretime-kusama/src/tests.rs | 3 --- system-parachains/coretime/coretime-polkadot/src/tests.rs | 3 --- 2 files changed, 6 deletions(-) diff --git a/system-parachains/coretime/coretime-kusama/src/tests.rs b/system-parachains/coretime/coretime-kusama/src/tests.rs index 48e282f086..42f6606793 100644 --- a/system-parachains/coretime/coretime-kusama/src/tests.rs +++ b/system-parachains/coretime/coretime-kusama/src/tests.rs @@ -106,9 +106,6 @@ fn timeslice_period_is_sane() { assert_eq!(timeslice_period_config, TIMESLICE_PERIOD); // Timeslice period constant non-zero - assumption in burning logic. - assert!(TIMESLICE_PERIOD > 0); - - // Timeslice period constant should never be changed by mistake. #[cfg(feature = "fast-runtime")] assert_eq!(TIMESLICE_PERIOD, 20); #[cfg(not(feature = "fast-runtime"))] diff --git a/system-parachains/coretime/coretime-polkadot/src/tests.rs b/system-parachains/coretime/coretime-polkadot/src/tests.rs index eac3e62082..f1de4d2dc9 100644 --- a/system-parachains/coretime/coretime-polkadot/src/tests.rs +++ b/system-parachains/coretime/coretime-polkadot/src/tests.rs @@ -106,9 +106,6 @@ fn timeslice_period_is_sane() { assert_eq!(timeslice_period_config, TIMESLICE_PERIOD); // Timeslice period constant non-zero - assumption in burning logic. - assert!(TIMESLICE_PERIOD > 0); - - // Timeslice period constant should never be changed by mistake. #[cfg(feature = "fast-runtime")] assert_eq!(TIMESLICE_PERIOD, 20); #[cfg(not(feature = "fast-runtime"))]