Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

cleanup more tests and spaces #3288

Merged
2 commits merged into from
Jun 17, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,560 changes: 4 additions & 1,556 deletions node/core/backing/src/lib.rs

Large diffs are not rendered by default.

1,567 changes: 1,567 additions & 0 deletions node/core/backing/src/tests.rs

Large diffs are not rendered by default.

627 changes: 4 additions & 623 deletions node/core/candidate-validation/src/lib.rs

Large diffs are not rendered by default.

633 changes: 633 additions & 0 deletions node/core/candidate-validation/src/tests.rs

Large diffs are not rendered by default.

720 changes: 4 additions & 716 deletions node/network/bitfield-distribution/src/lib.rs

Large diffs are not rendered by default.

726 changes: 726 additions & 0 deletions node/network/bitfield-distribution/src/tests.rs

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions node/network/bridge/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1252,11 +1252,11 @@ fn spread_event_to_subsystems_is_up_to_date() {
AllMessages::GossipSupport(_) => unreachable!("Not interested in network events"),
AllMessages::DisputeCoordinator(_) => unreachable!("Not interested in network events"),
AllMessages::DisputeParticipation(_) => unreachable!("Not interetsed in network events"),
// Add variants here as needed, `{ cnt += 1; }` for those that need to be
// notified, `unreachable!()` for those that should not.
}
}
assert_eq!(cnt, EXPECTED_COUNT);
// Add variants here as needed, `{ cnt += 1; }` for those that need to be
// notified, `unreachable!()` for those that should not.
}
}
assert_eq!(cnt, EXPECTED_COUNT);
}

#[test]
Expand Down
Loading