Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
alindima committed Feb 23, 2024
1 parent bffa4e9 commit 5d3a85d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions polkadot/runtime/parachains/src/paras_inherent/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1812,7 +1812,7 @@ mod sanitizers {
SanitizedBackedCandidates {
backed_candidates_with_core: expected_all_backed_candidates_with_core,
votes_from_disabled_were_dropped: false,
dropped_unscheduled_candidates: !core_index_enabled
dropped_unscheduled_candidates: true
}
);
});
Expand Down Expand Up @@ -1852,7 +1852,7 @@ mod sanitizers {

assert!(sanitized_backed_candidates.is_empty());
assert!(!votes_from_disabled_were_dropped);
assert!(!dropped_unscheduled_candidates);
assert!(dropped_unscheduled_candidates);
});
}

Expand Down

0 comments on commit 5d3a85d

Please sign in to comment.