summaryrefslogtreecommitdiff
path: root/test/sync.test
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2023-05-07 21:11:46 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2023-05-07 21:11:46 +0200
commit2d5508898e90c01680cab60295b9c1e8164d65da (patch)
treeebc3c05b3b2bdb4586aeb66b7936faaf3820cb8e /test/sync.test
parent3fc29ed18ea46e83e2ba2d4b39e52239771f427c (diff)
Test: use parentheses for guard expressions
Diffstat (limited to 'test/sync.test')
-rw-r--r--test/sync.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sync.test b/test/sync.test
index 3830eb0..3cc7cba 100644
--- a/test/sync.test
+++ b/test/sync.test
@@ -22,7 +22,7 @@ test:
send "attach-to 1" to p2
expect /attach-request 1 ([0-9]*)/ from p1 capture code1
expect /attach-response 1 ([0-9]*)/ from p2 capture code2
- guard code1 == code2
+ guard (code1 == code2)
send "attach-accept 1" to p1
send "attach-accept 1" to p2