()
| 609 | |
| 610 | #[test] |
| 611 | fn comparison_with_utf8_literal() { |
| 612 | let (expr, deps) = parse_ok("name != '禁止'"); |
| 613 | assert_eq!(deps, vec!["name"]); |
| 614 | let doc = Value::from(serde_json::json!({"name": "allowed"})); |
| 615 | assert_eq!(expr.eval(&doc), Value::Bool(true)); |
| 616 | } |
| 617 | } |
nothing calls this directly
no test coverage detected