()
| 185 | |
| 186 | #[test] |
| 187 | fn parse_single_term() { |
| 188 | let q = parse_tsquery("rust").unwrap(); |
| 189 | assert_eq!( |
| 190 | q, |
| 191 | FtsQuery::Plain { |
| 192 | text: "rust".into(), |
| 193 | fuzzy: false |
| 194 | } |
| 195 | ); |
| 196 | } |
| 197 | |
| 198 | #[test] |
| 199 | fn parse_and_two_terms() { |
nothing calls this directly
no test coverage detected