()
| 2492 | |
| 2493 | #[test] |
| 2494 | fn test_declare_callable_no_args_eof() { |
| 2495 | do_ok_test( |
| 2496 | "DECLARE FUNCTION foo$", |
| 2497 | &[Statement::Declare(DeclareSpan { |
| 2498 | name: VarRef::new("foo", Some(ExprType::Text)), |
| 2499 | name_pos: lc(1, 18), |
| 2500 | params: vec![], |
| 2501 | })], |
| 2502 | ); |
| 2503 | |
| 2504 | do_ok_test( |
| 2505 | "DECLARE SUB foo", |
| 2506 | &[Statement::Declare(DeclareSpan { |
| 2507 | name: VarRef::new("foo", None), |
| 2508 | name_pos: lc(1, 13), |
| 2509 | params: vec![], |
| 2510 | })], |
| 2511 | ); |
| 2512 | } |
| 2513 | |
| 2514 | #[test] |
| 2515 | fn test_declare_callable_no_args_not_eof() { |
nothing calls this directly
no test coverage detected