()
| 450 | |
| 451 | #[test] |
| 452 | fn plain_format_with_fields() { |
| 453 | let log = make_log( |
| 454 | "CONNECT", |
| 455 | vec![("dst_host", "example.com"), ("dst_port", "443")], |
| 456 | ); |
| 457 | let result = format_log_line_plain(&log); |
| 458 | assert!(result.contains("dst_host=example.com")); |
| 459 | assert!(result.contains("dst_port=443")); |
| 460 | } |
| 461 | |
| 462 | #[test] |
| 463 | fn plain_format_skips_empty_fields() { |
nothing calls this directly
no test coverage detected