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

Function test_function_empty

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

Source from the content-addressed store, hash-verified

4319
4320 #[test]
4321 fn test_function_empty() {
4322 do_ok_test(
4323 "FUNCTION foo$\nEND FUNCTION",
4324 &[Statement::Callable(CallableSpan {
4325 name: VarRef::new("foo", Some(ExprType::Text)),
4326 name_pos: lc(1, 10),
4327 params: vec![],
4328 body: vec![],
4329 end_pos: lc(2, 1),
4330 })],
4331 );
4332 }
4333
4334 #[test]
4335 fn test_function_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