Run swap e2e test without tor feature

Not worth automatically testing both `tor` and `not(tor)`, it should
not make a difference.
This commit is contained in:
Lucas Soriano del Pino 2020-11-02 10:31:53 +11:00
parent 792fa351c8
commit 92c7e8e84f

View File

@ -1,3 +1,5 @@
#[cfg(not(feature = "tor"))]
mod e2e_test {
use bitcoin_harness::Bitcoind;
use futures::{channel::mpsc, future::try_join};
use libp2p::Multiaddr;
@ -95,3 +97,4 @@ async fn swap() {
assert!(xmr_alice_final.as_piconero() <= xmr_alice - xmr);
assert_eq!(xmr_bob_final.as_piconero(), xmr_bob + xmr);
}
}