MCPcopy Index your code
hub / github.com/endbasic/endbasic / test_if_uniline_allowed_goto

Function test_if_uniline_allowed_goto

core/src/parser.rs:4048–4055  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 3

lcFunction · 0.85
do_error_testFunction · 0.85

Tested by

no test coverage detected