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

Commit 0587d76

Browse files
committed
WIP
Forked at: 60e3a69 Parent branch: origin/master
1 parent 78037b8 commit 0587d76

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-utils/src/lib.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ pub use futures;
2222
/// Marks async function to be executed by an async runtime and provide a `TaskExecutor`, suitable
2323
/// to test environment.
2424
///
25+
/// # Requirements
26+
///
27+
/// You must have tokio in the dependency of your crate to use this macro.
28+
///
2529
/// # Example
2630
///
2731
/// ```
28-
/// use tokio; // WARNING: you must have tokio in the dependency of your crate to use this macro!
29-
///
3032
/// #[substrate_test_utils::test]
3133
/// async fn basic_test(task_executor: TaskExecutor) {
3234
/// assert!(true);

0 commit comments

Comments
 (0)