()
| 1059 | |
| 1060 | #[test] |
| 1061 | fn test_parse_trailer_whitespace() { |
| 1062 | let msg = "msg\n\nAtomic-View: spaced \n"; |
| 1063 | assert_eq!( |
| 1064 | parse_trailer(msg, "Atomic-View"), |
| 1065 | Some("spaced".to_string()) |
| 1066 | ); |
| 1067 | } |
| 1068 | |
| 1069 | #[test] |
| 1070 | fn test_parse_trailer_empty() { |
nothing calls this directly
no outgoing calls
no test coverage detected