()
| 384 | |
| 385 | #[test] |
| 386 | fn parse_and_or() { |
| 387 | let pred = |
| 388 | parse_predicate("user_id = $auth.id AND status = 'active' OR visibility = 'public'") |
| 389 | .unwrap(); |
| 390 | assert!(matches!(pred, RlsPredicate::Or(_))); |
| 391 | } |
| 392 | |
| 393 | #[test] |
| 394 | fn parse_parenthesized() { |
nothing calls this directly
no test coverage detected