MCPcopy Create free account
hub / github.com/endbasic/endbasic / test_label_own_line

Function test_label_own_line

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

Source from the content-addressed store, hash-verified

4467
4468 #[test]
4469 fn test_label_own_line() {
4470 do_ok_test(
4471 "@foo\nPRINT",
4472 &[
4473 Statement::Label(LabelSpan { name: "foo".to_owned(), name_pos: lc(1, 1) }),
4474 make_bare_builtin_call("PRINT", 2, 1),
4475 ],
4476 );
4477 }
4478
4479 #[test]
4480 fn test_label_before_statement() {

Callers

nothing calls this directly

Calls 3

lcFunction · 0.85
make_bare_builtin_callFunction · 0.85
do_ok_testFunction · 0.70

Tested by

no test coverage detected