diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-01-17 00:12:59 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2023-01-17 00:19:30 +0100 |
commit | 665a7dafaf892b31285f35a43a90fc6e968fd7da (patch) | |
tree | 7da94ed4e3e9eaa4018a84ba43234bb39c598c35 /test/functional/core/startup_spec.lua | |
parent | 6ec7bcb6184f562157eebc8d0f25f78ba333c6a5 (diff) | |
download | rneovim-665a7dafaf892b31285f35a43a90fc6e968fd7da.tar.gz rneovim-665a7dafaf892b31285f35a43a90fc6e968fd7da.tar.bz2 rneovim-665a7dafaf892b31285f35a43a90fc6e968fd7da.zip |
refactor(tests): lift retry() into assert_log()
Diffstat (limited to 'test/functional/core/startup_spec.lua')
-rw-r--r-- | test/functional/core/startup_spec.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/functional/core/startup_spec.lua b/test/functional/core/startup_spec.lua index 9dabcd28b3..1be5de6488 100644 --- a/test/functional/core/startup_spec.lua +++ b/test/functional/core/startup_spec.lua @@ -43,10 +43,8 @@ describe('startup', function() it('--startuptime', function() clear({ args = {'--startuptime', testfile}}) - retry(nil, 1000, function() - assert_log('sourcing', testfile, 100) - assert_log("require%('vim%._editor'%)", testfile, 100) - end) + assert_log('sourcing', testfile, 100) + assert_log("require%('vim%._editor'%)", testfile, 100) end) it('-D does not hang #12647', function() |