()
| 4046 | |
| 4047 | #[test] |
| 4048 | fn test_if_uniline_allowed_goto() { |
| 4049 | do_if_uniline_allowed_test( |
| 4050 | "GOTO 10", |
| 4051 | Statement::Goto(GotoSpan { target: "10".to_owned(), target_pos: lc(1, 16) }), |
| 4052 | ); |
| 4053 | |
| 4054 | do_error_test("IF 1 THEN GOTO", "1:15: Expected label name after GOTO"); |
| 4055 | } |
| 4056 | |
| 4057 | #[test] |
| 4058 | fn test_if_uniline_allowed_on_error() { |
nothing calls this directly
no test coverage detected