diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-08-18 06:23:59 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-18 06:23:59 -0400 |
| commit | c5ea9ca2ad9e519ac662bd3e0846610264bf6e72 (patch) | |
| tree | 826cec785d544f75e9420310426c35d655b4613b /runtime/lua/vim/range.lua | |
| parent | d9b4fb1273fd4649593926451121d416154738b1 (diff) | |
| download | rneovim-c5ea9ca2ad9e519ac662bd3e0846610264bf6e72.tar.gz rneovim-c5ea9ca2ad9e519ac662bd3e0846610264bf6e72.tar.bz2 rneovim-c5ea9ca2ad9e519ac662bd3e0846610264bf6e72.zip | |
fix(zip): missed "password:" prompt if output trails it #41364
Problem:
Flaky test:
RUN T1158 nvim.zip reports an incorrect archive password: 11092.84 ms FAIL
The prompt is detected only if the pty output *ends* with "password: ",
but a read may return the prompt plus following bytes.
Solution:
- Match anywhere in the output since the last password was sent. The
buffer is cleared before each send, so won't match stale text.
- Assert on the reported message, so a failure shows what was reported.
Diffstat (limited to 'runtime/lua/vim/range.lua')
0 files changed, 0 insertions, 0 deletions