test(old): change back to using termopen() on Windows (#27772)

It no longer hangs on Windows CI.
This commit is contained in:
zeertzjq 2024-03-08 12:21:11 +08:00 committed by GitHub
parent 970b60aa7c
commit 25124d3607
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,8 +25,7 @@ function Main()
set lines=25
set columns=80
enew
" FIXME: using termopen() hangs on Windows CI
let job = has('win32') ? jobstart(args, s:logger) : termopen(args, s:logger)
let job = termopen(args, s:logger)
let results = jobwait([job], 5 * 60 * 1000)
" TODO(ZyX-I): Get colors
let screen = getline(1, '$')