()
| 2534 | |
| 2535 | #[test] |
| 2536 | fn test_declare_callable_consecutive() { |
| 2537 | do_ok_test( |
| 2538 | "DECLARE FUNCTION foo$\nDECLARE SUB bar", |
| 2539 | &[ |
| 2540 | Statement::Declare(DeclareSpan { |
| 2541 | name: VarRef::new("foo", Some(ExprType::Text)), |
| 2542 | name_pos: lc(1, 18), |
| 2543 | params: vec![], |
| 2544 | }), |
| 2545 | Statement::Declare(DeclareSpan { |
| 2546 | name: VarRef::new("bar", None), |
| 2547 | name_pos: lc(2, 13), |
| 2548 | params: vec![], |
| 2549 | }), |
| 2550 | ], |
| 2551 | ); |
| 2552 | } |
| 2553 | |
| 2554 | #[test] |
| 2555 | fn test_declare_callable_multiple_params() { |
nothing calls this directly
no test coverage detected