Skip to content

Commit

Permalink
chore: use path as name for cargo test targets
Browse files Browse the repository at this point in the history
  • Loading branch information
oleonardolima committed Sep 20, 2024
1 parent 6e8f196 commit 9b7b195
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions crates/electrum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
6 changes: 2 additions & 4 deletions crates/esplora/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 9b7b195

Please sign in to comment.