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

Function test_sub_empty

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

Source from the content-addressed store, hash-verified

4829
4830 #[test]
4831 fn test_sub_empty() {
4832 do_ok_test(
4833 "SUB foo\nEND SUB",
4834 &[Statement::Callable(CallableSpan {
4835 name: VarRef::new("foo", None),
4836 name_pos: lc(1, 5),
4837 params: vec![],
4838 body: vec![],
4839 end_pos: lc(2, 1),
4840 })],
4841 );
4842 }
4843
4844 #[test]
4845 fn test_sub_some_content() {

Callers

nothing calls this directly

Calls 3

CallableInterface · 0.85
lcFunction · 0.85
do_ok_testFunction · 0.70

Tested by

no test coverage detected