()
| 445 | |
| 446 | #[test] |
| 447 | fn tsvector_cast_elided() { |
| 448 | // 'foo'::tsvector → Literal("foo") |
| 449 | let expr = select_expr_lowered("SELECT 'foo'::tsvector FROM t"); |
| 450 | assert!( |
| 451 | matches!(expr, SqlExpr::Literal(SqlValue::String(ref s)) if s == "foo"), |
| 452 | "expected Literal(\"foo\"), got {expr:?}" |
| 453 | ); |
| 454 | } |
| 455 | |
| 456 | #[test] |
| 457 | fn tsquery_cast_elided() { |
nothing calls this directly
no test coverage detected