003 forged handle refused

✓ Passing This code compiles and runs correctly.

Code

input.kz

Actual

forged close refused: HandleNotHeld
close() ran for 'file_1'
held after open: 1, after honest close: 0

Expected output

forged close refused: HandleNotHeld
close() ran for 'file_1'
held after open: 1, after honest close: 0

Flows

flow ~register click a branch to expand · @labels scroll to their anchor
register (scope: "files", source: open(10) close(1))
flow ~run click a branch to expand · @labels scroll to their anchor
run (source: SESSION_1, scope: "files", budget: 100, handle_pool: &bridge_pool, auto_discharge: false)

Test Configuration

MUST_RUN