mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
vim-patch:8.2.1267: MS-Windows: tests may fail due to $PROMPT value
Problem: MS-Windows: tests may fail due to $PROMPT value.
Solution: Set $PROMPT for testing. (Taro Muraoka, closes vim/vim#6510)
2690b5aed8
This commit is contained in:
@@ -84,6 +84,11 @@ let &runtimepath .= ','.expand($BUILD_DIR).'/runtime/'
|
||||
" Always use forward slashes.
|
||||
set shellslash
|
||||
|
||||
if has('win32')
|
||||
" avoid prompt that is long or contains a line break
|
||||
let $PROMPT = '$P$G'
|
||||
endif
|
||||
|
||||
" Prepare for calling test_garbagecollect_now().
|
||||
let v:testing = 1
|
||||
|
||||
|
Reference in New Issue
Block a user