diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-09-21 18:36:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 18:36:37 +0200 |
commit | 92edc364426ddb4c80292ebe7e702c02f9344c5b (patch) | |
tree | 2fb92cdd08b0d10a59a2cd4b4820f7afbca17486 /cli/tests/integration_tests.rs | |
parent | 9d738fc1977e0bd3d36f361198a1101e17c3b3b3 (diff) |
refactor: use futures and serde_json from deno_core (#7614)
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index a03dc7dc4..cb633bdd2 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -1,6 +1,7 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +use deno_core::futures; +use deno_core::futures::prelude::*; use deno_core::url; -use futures::prelude::*; use std::io::{BufRead, Write}; use std::process::Command; use tempfile::TempDir; @@ -3088,7 +3089,7 @@ async fn inspector_pause() { async fn ws_read_msg( socket: &mut tokio_tungstenite::WebSocketStream<tokio::net::TcpStream>, ) -> String { - use futures::stream::StreamExt; + use deno_core::futures::stream::StreamExt; while let Some(msg) = socket.next().await { let msg = msg.unwrap().to_string(); // FIXME(bartlomieju): fails because there's a file loaded |