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

Function test_if_uniline_allowed_gosub

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

Source from the content-addressed store, hash-verified

4036
4037 #[test]
4038 fn test_if_uniline_allowed_gosub() {
4039 do_if_uniline_allowed_test(
4040 "GOSUB 10",
4041 Statement::Gosub(GotoSpan { target: "10".to_owned(), target_pos: lc(1, 17) }),
4042 );
4043
4044 do_error_test("IF 1 THEN GOSUB", "1:16: Expected label name after GOSUB");
4045 }
4046
4047 #[test]
4048 fn test_if_uniline_allowed_goto() {

Callers

nothing calls this directly

Calls 3

lcFunction · 0.85
do_error_testFunction · 0.85

Tested by

no test coverage detected