mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 17:07:01 +02:00
rename header generator macros
This commit is contained in:
@@ -115,7 +115,7 @@ mod test_if_range {
|
||||
use crate::http::header::*;
|
||||
use std::str;
|
||||
|
||||
test_header!(test1, vec![b"Sat, 29 Oct 1994 19:43:31 GMT"]);
|
||||
test_header!(test2, vec![b"\"abc\""]);
|
||||
test_header!(test3, vec![b"this-is-invalid"], None::<IfRange>);
|
||||
crate::__common_header_test!(test1, vec![b"Sat, 29 Oct 1994 19:43:31 GMT"]);
|
||||
crate::__common_header_test!(test2, vec![b"\"abc\""]);
|
||||
crate::__common_header_test!(test3, vec![b"this-is-invalid"], None::<IfRange>);
|
||||
}
|
||||
|
Reference in New Issue
Block a user