aboutsummaryrefslogtreecommitdiff
path: root/test/functional/core/fileio_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-01-16 18:38:20 -0500
committerGitHub <noreply@github.com>2023-01-16 18:38:20 -0500
commit7ebb1cf28f41d073062a4d454b5613d31e5d7518 (patch)
tree417e251a93a9715324d00cd30a5d75db834a1130 /test/functional/core/fileio_spec.lua
parentda3460562e84dcf608248cc9a5b0eb2341531a0d (diff)
parent665a7dafaf892b31285f35a43a90fc6e968fd7da (diff)
downloadrneovim-7ebb1cf28f41d073062a4d454b5613d31e5d7518.tar.gz
rneovim-7ebb1cf28f41d073062a4d454b5613d31e5d7518.tar.bz2
rneovim-7ebb1cf28f41d073062a4d454b5613d31e5d7518.zip
Merge #21844 test: avoid noise in test logs
Diffstat (limited to 'test/functional/core/fileio_spec.lua')
-rw-r--r--test/functional/core/fileio_spec.lua8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/functional/core/fileio_spec.lua b/test/functional/core/fileio_spec.lua
index bbf2202f0d..4e9891a4de 100644
--- a/test/functional/core/fileio_spec.lua
+++ b/test/functional/core/fileio_spec.lua
@@ -295,9 +295,7 @@ describe('tmpdir', function()
clear({ env={ NVIM_LOG_FILE=testlog, TMPDIR=faketmp, } })
matches(tmproot_pat, funcs.stdpath('run')) -- Tickle vim_mktempdir().
-- Assert that broken tmpdir root was handled.
- retry(nil, 1000, function()
- assert_log('tempdir root not a directory', testlog, 100)
- end)
+ assert_log('tempdir root not a directory', testlog, 100)
-- "…/nvim.<user>/" has wrong permissions:
skip(is_os('win'), 'TODO(justinmk): need setfperm/getfperm on Windows. #8244')
@@ -308,9 +306,7 @@ describe('tmpdir', function()
clear({ env={ NVIM_LOG_FILE=testlog, TMPDIR=faketmp, } })
matches(tmproot_pat, funcs.stdpath('run')) -- Tickle vim_mktempdir().
-- Assert that broken tmpdir root was handled.
- retry(nil, 1000, function()
- assert_log('tempdir root has invalid permissions', testlog, 100)
- end)
+ assert_log('tempdir root has invalid permissions', testlog, 100)
end)
it('too long', function()