Helper to instantiate a trivial `Statement::BuiltinCall` that has no arguments.
(name: &str, line: usize, col: usize)
| 3656 | |
| 3657 | /// Helper to instantiate a trivial `Statement::BuiltinCall` that has no arguments. |
| 3658 | fn make_bare_builtin_call(name: &str, line: usize, col: usize) -> Statement { |
| 3659 | Statement::Call(CallSpan { |
| 3660 | vref: VarRef::new(name, None), |
| 3661 | vref_pos: LineCol { line, col }, |
| 3662 | args: vec![], |
| 3663 | }) |
| 3664 | } |
| 3665 | |
| 3666 | #[test] |
| 3667 | fn test_if_with_one_statement_or_empty_lines() { |
no outgoing calls