summaryrefslogtreecommitdiff
path: root/test/attach.et
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2026-10-03 16:30:02 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2026-10-11 20:48:22 +0200
commit6a1823eebdc6af823584e3479ae3aead4b00efa8 (patch)
treed9a9fc5381a2d21956df637766c04e1eb0146447 /test/attach.et
parent379bbf574ad0c82c36a6e7966a8fd736d7d29ef4 (diff)
Test: add type annotations to perfrom_attach
Diffstat (limited to 'test/attach.et')
-rw-r--r--test/attach.et4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/attach.et b/test/attach.et
index cb0d448..42f8e94 100644
--- a/test/attach.et
+++ b/test/attach.et
@@ -3,9 +3,7 @@ module attach
import common
-export def perform_attach of dev to owner:
- flush from owner matching // # TODO: forces (owner : Process), drop when not necessary
-
+export def perform_attach of (dev : Process) to (owner : Process):
send "peer-get-by-addr ${owner.node.ip} 29665" to dev
send "peer-get-by-addr ${dev.node.ip} 29665" to owner
expect /peer-get-by-addr ([0-9]+)/ from dev capture owner_pidx