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

Function test_label_before_statement

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

Source from the content-addressed store, hash-verified

4478
4479 #[test]
4480 fn test_label_before_statement() {
4481 do_ok_test(
4482 "@foo PRINT",
4483 &[
4484 Statement::Label(LabelSpan { name: "foo".to_owned(), name_pos: lc(1, 1) }),
4485 make_bare_builtin_call("PRINT", 1, 6),
4486 ],
4487 );
4488 }
4489
4490 #[test]
4491 fn test_label_multiple_same_line() {

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