From 8f42fec9b231503f24b7b5d92f44605928d66567 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Fri, 1 Jun 2018 12:17:13 -0700 Subject: [PATCH] stable compat --- tests/test_server.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_server.rs b/tests/test_server.rs index ed2848f79..2eccadef8 100644 --- a/tests/test_server.rs +++ b/tests/test_server.rs @@ -32,7 +32,7 @@ use tokio::executor::current_thread; use tokio::runtime::current_thread::Runtime; use tokio_tcp::TcpStream; -use actix::{msgs::SystemExit, Arbiter, System}; +use actix::{msgs, Arbiter, System}; use actix_web::*; const STR: &str = "Hello World Hello World Hello World Hello World Hello World \ @@ -110,7 +110,7 @@ fn test_start() { assert!(response.status().is_success()); } - let _ = sys.send(SystemExit(0)).wait(); + let _ = sys.send(msgs::SystemExit(0)).wait(); } #[test] @@ -148,7 +148,7 @@ fn test_shutdown() { thread::sleep(time::Duration::from_millis(1000)); assert!(net::TcpStream::connect(addr).is_err()); - let _ = sys.send(SystemExit(0)).wait(); + let _ = sys.send(msgs::SystemExit(0)).wait(); } #[test]