()
| 264 | |
| 265 | #[test] |
| 266 | fn parse_not_term() { |
| 267 | let q = parse_tsquery("!foo").unwrap(); |
| 268 | assert_eq!( |
| 269 | q, |
| 270 | FtsQuery::Not(Box::new(FtsQuery::Plain { |
| 271 | text: "foo".into(), |
| 272 | fuzzy: false |
| 273 | })) |
| 274 | ); |
| 275 | } |
| 276 | |
| 277 | #[test] |
| 278 | fn parse_empty_is_error() { |
nothing calls this directly
no test coverage detected