mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 19:17:58 +00:00
Remove substrate_test_utils::test (#1321)
* Directly use tokio::test Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove old code Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Delete substrate-test-utils-test-crate Also not needed anymore. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
committed by
GitHub
parent
80a19bec6a
commit
dfc0d1bc83
@@ -17,26 +17,6 @@
|
||||
|
||||
//! Test utils
|
||||
|
||||
#[doc(hidden)]
|
||||
pub use futures;
|
||||
/// Marks async function to be executed by an async runtime suitable to test environment.
|
||||
///
|
||||
/// # Requirements
|
||||
///
|
||||
/// You must have tokio in the `[dev-dependencies]` of your crate to use this macro.
|
||||
///
|
||||
/// # Example
|
||||
///
|
||||
/// ```
|
||||
/// #[substrate_test_utils::test]
|
||||
/// async fn basic_test() {
|
||||
/// assert!(true);
|
||||
/// }
|
||||
/// ```
|
||||
pub use substrate_test_utils_derive::test;
|
||||
#[doc(hidden)]
|
||||
pub use tokio;
|
||||
|
||||
/// Panic when the vectors are different, without taking the order into account.
|
||||
///
|
||||
/// # Examples
|
||||
|
||||
Reference in New Issue
Block a user