()
| 299 | |
| 300 | #[test] |
| 301 | fn buffer_require_non_empty_err() { |
| 302 | let buf = Buffer::empty_f64(); |
| 303 | let err = buf.require_non_empty("sum").unwrap_err(); |
| 304 | assert_eq!( |
| 305 | err, |
| 306 | ParsecError::EmptyCollection("cannot sum empty buffer".into()) |
| 307 | ); |
| 308 | } |
| 309 | } |
nothing calls this directly
no test coverage detected