From a5fc8b6fe06a235afe5e89ad91ff41c0478b11ce Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Wed, 31 May 2017 11:34:00 -0700 Subject: [PATCH] fix redirect tests that have an invalid header string --- tests/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/client.rs b/tests/client.rs index dd49295..e260840 100644 --- a/tests/client.rs +++ b/tests/client.rs @@ -249,7 +249,7 @@ fn test_redirect_policy_can_return_errors() { response: b"\ HTTP/1.1 302 Found\r\n\ Server: test\r\n\ - Location: /loop + Location: /loop\r\n\ Content-Length: 0\r\n\ \r\n\ " @@ -273,7 +273,7 @@ fn test_redirect_policy_can_stop_redirects_without_an_error() { response: b"\ HTTP/1.1 302 Found\r\n\ Server: test-dont\r\n\ - Location: /dont + Location: /dont\r\n\ Content-Length: 0\r\n\ \r\n\ "