diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2022-06-17 01:23:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-17 01:23:48 +0200 |
commit | c57f6b28d71df1eb6e967381a44a1c038a75698d (patch) | |
tree | 02a46f56a250d5f59b767ab3af09cf2b72c60d34 /test/functional/core/startup_spec.lua | |
parent | 279bc71f3c24928de7d46034168fa105592eb1fa (diff) | |
parent | 1f2c2a35ad14cfac002d87073471bd84a52860bf (diff) | |
download | rneovim-c57f6b28d71df1eb6e967381a44a1c038a75698d.tar.gz rneovim-c57f6b28d71df1eb6e967381a44a1c038a75698d.tar.bz2 rneovim-c57f6b28d71df1eb6e967381a44a1c038a75698d.zip |
Merge #8519 feat: name, test ids, sockets in stdpath(state)
Diffstat (limited to 'test/functional/core/startup_spec.lua')
-rw-r--r-- | test/functional/core/startup_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/core/startup_spec.lua b/test/functional/core/startup_spec.lua index 18d48efadc..919b7b3f9a 100644 --- a/test/functional/core/startup_spec.lua +++ b/test/functional/core/startup_spec.lua @@ -580,7 +580,7 @@ describe('user config init', function() it('loads default lua config, but shows an error', function() clear{ args_rm={'-u'}, env=xenv } - feed('<cr>') -- confirm "Conflicting config ..." message + feed('<cr><c-c>') -- Dismiss "Conflicting config …" message. eq(1, eval('g:lua_rc')) matches('^E5422: Conflicting configs', meths.exec('messages', true)) end) @@ -632,13 +632,13 @@ describe('runtime:', function() eq(2, eval('g:lua_plugin')) -- Check if plugin_file_path is listed in :scriptname local scripts = meths.exec(':scriptnames', true) - assert.Truthy(scripts:find(plugin_file_path)) + assert(scripts:find(plugin_file_path)) -- Check if plugin_file_path is listed in startup profile local profile_reader = io.open(profiler_file, 'r') local profile_log = profile_reader:read('*a') profile_reader:close() - assert.Truthy(profile_log :find(plugin_file_path)) + assert(profile_log:find(plugin_file_path)) os.remove(profiler_file) rmdir(plugin_path) |