summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-30 21:04:41 -0300
committerGabriel Schneider <[email protected]>2026-10-30 21:04:48 -0300
commit4de480393606fa1f680a4fe84a2507679016efc1 (patch)
treec464bf7917298f66106e30ab26a6acc40b0baefa /test
parente2d74d9160a491d270b271904d5c4338dd203cf9 (diff)
downloadpardes-4de480393606fa1f680a4fe84a2507679016efc1.tar.gz
pardes-4de480393606fa1f680a4fe84a2507679016efc1.zip
test/soak.py: the monkey never asks for Exit: window mode ended with Enter (left open, it took the next action's keys, and a `k` at a column's top went to its tag, where `quebec` typed `SPC q`, Exit, and a session with nothing unsaved quit as asked: the box's 1093rd-input quit), and no word starts with q
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test')
-rw-r--r--test/soak.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/soak.py b/test/soak.py
index 1a62a5f6..400b3dc3 100644
--- a/test/soak.py
+++ b/test/soak.py
@@ -130,7 +130,7 @@ def pct(xs, p):
# ---- the fixture: a directory such as a person works in ----
WORDS = ('alpha bravo charlie delta echo foxtrot golf hotel india juliet kilo lima mike november oscar papa '
- 'quebec romeo sierra tango uniform victor whiskey xray yankee zulu').split()
+ 'romeo sierra tango uniform victor whiskey xray yankee zulu').split()
def fixture(at, rng):
@@ -679,7 +679,9 @@ def act_shell(c, rng, k):
def act_window(c, rng, k):
- k(b'\x17' + rng.choice([b'h', b'j', b'k', b'l']))
+ # Enter ends window mode, as a person would: left open, it took the next
+ # action's keys, and a `k` at a column's top went to its tag, where `SPC q` ran Exit
+ k(b'\x17' + rng.choice([b'h', b'j', b'k', b'l']) + b'\r')
def act_column(c, rng, k):