1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-28 01:32:57 +01:00

fix cors tests

This commit is contained in:
Nikolay Kim 2018-01-11 20:20:50 -08:00
parent dab918261c
commit eb8052b936

View File

@ -841,7 +841,7 @@ mod tests {
let resp: HttpResponse = HTTPOk.into();
let resp = cors.response(&mut req, resp).unwrap().response();
assert_eq!(
&b"https://www.example.com/"[..],
&b"https://www.example.com"[..],
resp.headers().get(header::ACCESS_CONTROL_ALLOW_ORIGIN).unwrap().as_bytes());
}
}