()
| 255 | |
| 256 | #[test] |
| 257 | fn string_field() { |
| 258 | let line = parse_line(r#"log,host=web01 message="hello world" 1000"#).unwrap(); |
| 259 | assert_eq!( |
| 260 | line.fields[0], |
| 261 | ("message", FieldValue::Str("hello world".to_string())) |
| 262 | ); |
| 263 | } |
| 264 | |
| 265 | #[test] |
| 266 | fn unsigned_int() { |
nothing calls this directly
no test coverage detected