From: Leonardo Lima Date: Fri, 20 Sep 2024 15:03:54 +0000 (-0300) Subject: chore: use path as `name` for cargo test targets X-Git-Tag: v1.0.0-beta.5~8^2~3 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/scripts/static/enum.FromStrError.html?a=commitdiff_plain;h=9b7b19586e1f74613f71b6c2403a7df419e13b65;p=bdk chore: use path as `name` for cargo test targets --- diff --git a/crates/electrum/Cargo.toml b/crates/electrum/Cargo.toml index 1770c90c..ed1fd06a 100644 --- a/crates/electrum/Cargo.toml +++ b/crates/electrum/Cargo.toml @@ -26,6 +26,5 @@ use-rustls = ["electrum-client/use-rustls"] use-rustls-ring = ["electrum-client/use-rustls-ring"] [[test]] -name = "use-rustls" -path = "tests/test_electrum.rs" +name = "test_electrum" required-features = ["use-rustls"] diff --git a/crates/esplora/Cargo.toml b/crates/esplora/Cargo.toml index e7190f4e..fa799d81 100644 --- a/crates/esplora/Cargo.toml +++ b/crates/esplora/Cargo.toml @@ -39,11 +39,9 @@ blocking-https-rustls = ["blocking", "esplora-client/blocking-https-rustls"] blocking-https-native = ["blocking", "esplora-client/blocking-https-native"] [[test]] -name = "blocking" -path = "tests/blocking_ext.rs" +name = "blocking_ext" required-features = ["blocking"] [[test]] -name = "async" -path = "tests/async_ext.rs" +name = "async_ext" required-features = ["async"]