[vim/vim] tests: test_popupwin fails with zsh because of the prompt (PR #20664)

0 views
Skip to first unread message

Christian Brabandt

unread,
2:43 PM (7 hours ago) 2:43 PM
to vim/vim, Subscribed

Problem: tests: test_popupwin fails with zsh: it asserts against screen
cells next to the cursor, which break when zsh draws its own
prompt.
Solution: Pass an env dict to term_start() clearing $HOME and $PS1
and assert against term_getline() instead of screenstring().
While at it fix indentation.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20664

Commit Summary

  • 4a92be3 tests: test_popupwin fails with zsh because of the prompt

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20664@github.com>

Reply all
Reply to author
Forward
0 new messages