Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
seadanda committed Aug 1, 2024
1 parent 020580f commit 932f5aa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions system-parachains/coretime/coretime-kusama/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"))]
Expand Down
3 changes: 0 additions & 3 deletions system-parachains/coretime/coretime-polkadot/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"))]
Expand Down

0 comments on commit 932f5aa

Please sign in to comment.