test(old): sleep for 1 second on non-Windows in test_stat.vim (#28195)

Now that Nvim always supports nanotime, sleeping for some milliseconds
is actually enough, but for test_stat.vim keeping some longer sleeps may
increase test coverage, so just match the upstream test.
This commit is contained in:
zeertzjq 2024-04-06 08:33:07 +08:00 committed by GitHub
parent a4e4e493df
commit 08ae0c840b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ func SleepForTimestamp()
if has('win32')
sleep 2
else
sleep 2
sleep 1
endif
endfunc