(tmp_path: Path)
| 95 | |
| 96 | |
| 97 | def test_member_call_captures_receiver(tmp_path: Path) -> None: |
| 98 | main = _write(tmp_path, "main.rb", MAIN_RB) |
| 99 | rc = _find_raw_call(extract_ruby(main), "run") |
| 100 | assert rc is not None, "p.run should produce a raw_call with callee 'run'" |
| 101 | assert rc["is_member_call"] is True |
| 102 | assert rc["receiver"] == "p" |
| 103 | |
| 104 | |
| 105 | def test_local_binding_gives_receiver_a_type(tmp_path: Path) -> None: |
nothing calls this directly
no test coverage detected