diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-01 06:52:47 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 07:16:43 -0300 |
| commit | 4178fdf514b637cafde6325086e0ce66e2cafaa2 (patch) | |
| tree | aa2c809baf8a0580da5d843e276ba0dd700b733f /test/fs.py | |
| parent | 528c5a28ac3b813a2d0c06a019d7758476257915 (diff) | |
| download | pardes-4178fdf514b637cafde6325086e0ce66e2cafaa2.tar.gz pardes-4178fdf514b637cafde6325086e0ce66e2cafaa2.zip | |
A file name with a newline is refused naming it once: `pardes: two\nlines.txt: a file name is one line...`, not `a file name: a file name ...`
The refusal's subject was the words "a file name", and its reason
began with them again. It now names the name given, its newline shown
`\n`, as /log and /index show one.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/fs.py')
| -rw-r--r-- | test/fs.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1561,7 +1561,7 @@ def test(binary, quic=False): finally: shut.chmod(0o755) for word, said in (('@p999:1', b'pardes: @p999:1: this session has no such pane'), - ('two\nlines.txt', b'a file name is one line')): + ('two\nlines.txt', b'pardes: two\\nlines.txt: a file name is one line')): refused = subprocess.run([binary, word], cwd=root, env=env, stdout=subprocess.PIPE, stderr=subprocess.PIPE, timeout=10) assert refused.returncode == 1, refused |
