vendor servo commit 30b67a8d7a2435c00177e4731531a2c5fbf54084 draft
authorVCS Sync <vcs-sync@mozilla.com>
Sat, 31 Dec 2016 03:13:17 +0000
changeset 458242 181062913513a1eb1ab59e41a80fa6d5c6a962c1
parent 458241 1c5fbc9957db9ee5b4ccc2073d2fb6e8229c0fdf
child 458243 fb1a06c27c77cc44e744db330af201d5ec36ca0f
push id40933
push userbmo:slyu@mozilla.com
push dateTue, 10 Jan 2017 06:53:24 +0000
milestone53.0a1
vendor servo commit 30b67a8d7a2435c00177e4731531a2c5fbf54084
servo/tests/unit/net/http_loader.rs
--- a/servo/tests/unit/net/http_loader.rs
+++ b/servo/tests/unit/net/http_loader.rs
@@ -322,17 +322,17 @@ fn test_redirected_request_to_devtools()
         url: pre_url.clone(),
         method: Method::Post,
         destination: Destination::Document,
         origin: pre_url.clone(),
         pipeline_id: Some(TEST_PIPELINE_ID),
         .. RequestInit::default()
     });
     let (devtools_chan, devtools_port) = mpsc::channel();
-    let response = fetch(request, Some(devtools_chan));
+    fetch(request, Some(devtools_chan));
 
     let _ = pre_server.close();
     let _ = post_server.close();
 
     let devhttprequest = expect_devtools_http_request(&devtools_port);
     let devhttpresponse = expect_devtools_http_response(&devtools_port);
 
     assert!(devhttprequest.method == Method::Post);