()
| 504 | |
| 505 | #[test] |
| 506 | fn plainto_tsquery_lowers_correctly() { |
| 507 | let expr = select_expr_lowered("SELECT plainto_tsquery('rust lang') FROM t"); |
| 508 | match expr { |
| 509 | SqlExpr::Function { ref name, .. } => { |
| 510 | assert_eq!(name, "pg_plainto_tsquery"); |
| 511 | } |
| 512 | other => panic!("expected pg_plainto_tsquery, got {other:?}"), |
| 513 | } |
| 514 | } |
| 515 | |
| 516 | #[test] |
| 517 | fn ts_rank_lowers_to_pg_ts_rank() { |
nothing calls this directly
no test coverage detected