aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-06 08:33:07 +0800
committerGitHub <noreply@github.com>2024-04-06 08:33:07 +0800
commit08ae0c840b31b1ef9ed56c0f9d2f96585b474538 (patch)
tree58a9ce51a62580b5589aea58795a88d23b9fbbd4
parenta4e4e493df5f6897345278a460cccd175f7f4cf0 (diff)
downloadrneovim-08ae0c840b31b1ef9ed56c0f9d2f96585b474538.tar.gz
rneovim-08ae0c840b31b1ef9ed56c0f9d2f96585b474538.tar.bz2
rneovim-08ae0c840b31b1ef9ed56c0f9d2f96585b474538.zip
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.
-rw-r--r--test/old/testdir/test_stat.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/old/testdir/test_stat.vim b/test/old/testdir/test_stat.vim
index d3059664e9..13ade5bee1 100644
--- a/test/old/testdir/test_stat.vim
+++ b/test/old/testdir/test_stat.vim
@@ -55,7 +55,7 @@ func SleepForTimestamp()
if has('win32')
sleep 2
else
- sleep 2
+ sleep 1
endif
endfunc