style(headers): Break lines with over 100 characters

This commit is contained in:
Pyfisch
2015-05-03 15:45:11 +02:00
parent 66d54d03e7
commit db4d89189a
11 changed files with 92 additions and 35 deletions

View File

@@ -134,7 +134,9 @@ fn test_fmt() {
let mut headers = Headers::new();
headers.set(cookies);
assert_eq!(&headers.to_string()[..], "Set-Cookie: foo=bar; HttpOnly; Path=/p\r\nSet-Cookie: baz=quux; Path=/\r\n");
assert_eq!(
&headers.to_string()[..],
"Set-Cookie: foo=bar; HttpOnly; Path=/p\r\nSet-Cookie: baz=quux; Path=/\r\n");
}
#[test]