Restructure hpack tests

This commit is contained in:
Carl Lerche
2017-06-29 23:11:35 -07:00
parent 63ffea61f5
commit a7b92d5ec2
8 changed files with 680 additions and 234 deletions

View File

@@ -540,7 +540,7 @@ mod test {
#[test]
fn test_sensitive_headers_are_never_indexed() {
use http::header::{HeaderName, HeaderValue};
use http::header::HeaderValue;
let name = "my-password".parse().unwrap();
let mut value = HeaderValue::try_from_bytes(b"12345").unwrap();