()
| 4376 | |
| 4377 | #[test] |
| 4378 | fn test_function_multiple_params() { |
| 4379 | do_ok_test( |
| 4380 | "FUNCTION foo$(x$, y, z AS BOOLEAN)\nEND FUNCTION", |
| 4381 | &[Statement::Callable(CallableSpan { |
| 4382 | name: VarRef::new("foo", Some(ExprType::Text)), |
| 4383 | name_pos: lc(1, 10), |
| 4384 | params: vec![ |
| 4385 | VarRef::new("x", Some(ExprType::Text)), |
| 4386 | VarRef::new("y", None), |
| 4387 | VarRef::new("z", Some(ExprType::Boolean)), |
| 4388 | ], |
| 4389 | body: vec![], |
| 4390 | end_pos: lc(2, 1), |
| 4391 | })], |
| 4392 | ); |
| 4393 | } |
| 4394 | |
| 4395 | #[test] |
| 4396 | fn test_function_errors() { |
nothing calls this directly
no test coverage detected