()
| 577 | |
| 578 | #[test] |
| 579 | fn null_literal() { |
| 580 | let (expr, _) = parse_ok("COALESCE(x, NULL, 0)"); |
| 581 | let doc = Value::from(serde_json::json!({"x": null})); |
| 582 | assert_eq!(expr.eval(&doc), Value::Integer(0)); |
| 583 | } |
| 584 | |
| 585 | #[test] |
| 586 | fn nested_functions() { |
nothing calls this directly
no test coverage detected