summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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 7061c61f..ba43c606 100644
--- a/test/fs.py
+++ b/test/fs.py
@@ -1386,10 +1386,10 @@ def test(binary, quic=False):
# A name the session refuses: its reason and exit 1, as B's,
# never a nested editor, and no pane left for it.
before = serials()
- refused = subprocess.run([binary, 'bad\x01name.txt'], cwd=root, env=env,
+ refused = subprocess.run([binary, 'x' * 300 + '.txt'], cwd=root, env=env,
stdout=subprocess.PIPE, stderr=subprocess.PIPE, timeout=10)
assert refused.returncode == 1, refused
- assert b'bad character in file name' in refused.stderr, refused.stderr
+ assert b'a component over 255 bytes' in refused.stderr, refused.stderr
assert serials() == before, (serials(), before)
# A pane address the session has not is refused in words, exit
# 1, no pane made for a file of that name; one it has is looked