summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 16:31:13 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:16 -0300
commitff3738b2fe8312b0a108cf7301ec99e1c4d0a24b (patch)
tree1b58630c8d1b41ea451c45842e5c82b566ebba71 /test
parent8496759196e88e4fbd25ce19d3b04722c8f25f64 (diff)
downloadpardes-ff3738b2fe8312b0a108cf7301ec99e1c4d0a24b.tar.gz
pardes-ff3738b2fe8312b0a108cf7301ec99e1c4d0a24b.zip
Mini with no argument is wrong #args, EINVAL; Find, Grep and Mini say their names capitalised
Mini needs a file but did not say so, so a bare Mini ran and failed EIO. It now requires its argument, refused wrong #args (EINVAL) as every such word is. Its failures, Find's and Grep's start with the builtin's own name (Mini:, Find:, Grep:), as the others' do. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test')
-rw-r--r--test/fs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fs.py b/test/fs.py
index 3c0ece79..7401861b 100644
--- a/test/fs.py
+++ b/test/fs.py
@@ -622,11 +622,11 @@ def workflow_canary(binary):
rows = client.read(f'/pane/{grep}/body').decode()
assert 'a.txt:2' in rows and 'b.txt:2' in rows, rows
client.remove(f'/pane/{grep}')
- execute_refused(client, a, 'Grep zzqqnomatch', 'grep: pattern not found')
+ execute_refused(client, a, 'Grep zzqqnomatch', 'Grep: pattern not found')
found = made_by(a, b'Find b.txt\n')
assert 'b.txt' in client.read(f'/pane/{found}/body').decode()
client.remove(f'/pane/{found}')
- execute_refused(client, a, 'Find zzqqnomatch', 'find: name not found')
+ execute_refused(client, a, 'Find zzqqnomatch', 'Find: name not found')
# A plain word looked at is found in the pane, after its dot.
client.write(f'/pane/{a}/dot', b' 0 0 ')