Records reach work just in time: pointer lines and lessons by situation (milestone 642, steps 5–6) #231
@@ -271,7 +271,9 @@ async def test_margin_gate_applies_to_the_semantic_arm():
|
||||
patch.object(pc, "owner_names_for", AsyncMock(return_value={})):
|
||||
out = await pc.build_write_path_hint(1, "src/x.py", code=REAL_CODE)
|
||||
assert out["note_ids"] == [11, 22]
|
||||
assert "#33" not in out["context"]
|
||||
# Past the margin: no line of its own, only its id in the pointer.
|
||||
assert "#33 [" not in out["context"]
|
||||
assert "not shown: snippets #33 (`get_snippet(id)`)" in out["context"]
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
||||
Reference in New Issue
Block a user