* Initial commit

Forked at: 00ac43c26c
Parent branch: origin/master

* Substrate companion PR

impl Debug for sc_service::Configuration

Related to: https://github.com/paritytech/substrate/pull/6400

* Bump

Co-authored-by: Gav Wood <gavin@parity.io>
This commit is contained in:
Cecile Tonglet
2020-06-23 13:12:34 +02:00
committed by GitHub
parent 8fb1e2547c
commit 26f975511f
2 changed files with 139 additions and 139 deletions
+136 -136
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -501,14 +501,14 @@ mod tests {
}
}
// Make sure that the future returned by `start_collator` implementes `Send`.
// Make sure that the future returned by `start_collator` implements `Send`.
#[test]
fn start_collator_is_send() {
fn check_send<T: Send>(_: T) {}
let cli = Cli::from_iter(&["-dev"]);
let task_executor = Arc::new(|_, _| unimplemented!());
let config = cli.create_configuration(&cli.run.base, task_executor).unwrap();
let task_executor = |_, _| unimplemented!();
let config = cli.create_configuration(&cli.run.base, task_executor.into()).unwrap();
check_send(start_collator(
BuildDummyParachainContext,