()
| 239 | |
| 240 | #[test] |
| 241 | fn no_timestamp() { |
| 242 | let line = parse_line("cpu,host=a value=1.0").unwrap(); |
| 243 | assert_eq!(line.measurement, "cpu"); |
| 244 | assert_eq!(line.timestamp_ns, None); |
| 245 | } |
| 246 | |
| 247 | #[test] |
| 248 | fn multiple_fields() { |
nothing calls this directly
no test coverage detected