Remove TestHeader from non-test builds

This commit is contained in:
link2xt
2023-02-14 11:00:04 +00:00
parent 00c14dd9f6
commit a203cde400
2 changed files with 4 additions and 3 deletions

View File

@@ -2362,7 +2362,7 @@ mod tests {
assert_eq!(of, "no");
// unknown headers do not bubble upwards
let of = mimeparser.get_header(HeaderDef::_TestHeader).unwrap();
let of = mimeparser.get_header(HeaderDef::TestHeader).unwrap();
assert_eq!(of, "Bar");
// the following fields would bubble up