Skip to content

Commit 76a08d9

Browse files
committed
Remove env_logger from tests
1 parent a78f9b4 commit 76a08d9

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

http/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ default = ["tls"]
2525
tls = ["hyper-tls", "native-tls"]
2626

2727
[dev-dependencies]
28-
env_logger = "0.5"
2928
jsonrpc-core = "8.0"
3029
jsonrpc-macros = "8.0"
3130
jsonrpc-http-server = "8.0"

http/tests/localhost.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// option. This file may not be copied, modified, or distributed
77
// except according to those terms.
88

9-
extern crate env_logger;
109
extern crate futures;
1110
#[macro_use]
1211
extern crate jsonrpc_client_core;
@@ -48,8 +47,6 @@ jsonrpc_client!(pub struct TestClient {
4847

4948
#[test]
5049
fn localhost_ping_pong() {
51-
let _ = env_logger::init();
52-
5350
// Spawn a server hosting the `ServerApi` API.
5451
let (_server, uri) = spawn_server();
5552
println!("Testing towards server at {}", uri);
@@ -79,8 +76,6 @@ fn localhost_ping_pong() {
7976

8077
#[test]
8178
fn dropped_rpc_request_should_not_crash_transport() {
82-
let _ = env_logger::init();
83-
8479
let (_server, uri) = spawn_server();
8580

8681
let mut core = Core::new().unwrap();

0 commit comments

Comments
 (0)