()
| 217 | |
| 218 | #[test] |
| 219 | fn lint_auth_ref_clean() { |
| 220 | let pred = RlsPredicate::Compare { |
| 221 | field: "user_id".into(), |
| 222 | op: CompareOp::Eq, |
| 223 | value: PredicateValue::AuthRef("id".into()), |
| 224 | }; |
| 225 | let warnings = lint_predicate(&pred); |
| 226 | assert!(warnings.is_empty()); |
| 227 | } |
| 228 | } |
nothing calls this directly
no test coverage detected