()
| 198 | |
| 199 | #[test] |
| 200 | fn lint_always_true() { |
| 201 | let warnings = lint_predicate(&RlsPredicate::AlwaysTrue); |
| 202 | assert_eq!(warnings.len(), 1); |
| 203 | assert!(warnings[0].contains("tautology")); |
| 204 | } |
| 205 | |
| 206 | #[test] |
| 207 | fn lint_static_predicate() { |
nothing calls this directly
no test coverage detected