diff options
author | kylo252 <59826753+kylo252@users.noreply.github.com> | 2022-06-13 13:05:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-13 04:05:17 -0700 |
commit | 837360868b557dcb897690178d891c87e91fc27f (patch) | |
tree | 744c14f7cd33bfd111a18f674f0ab28ffd10c791 /test/functional/api/version_spec.lua | |
parent | 663cbe2620278eae658895f82f3eb9bc89310e73 (diff) | |
download | rneovim-837360868b557dcb897690178d891c87e91fc27f.tar.gz rneovim-837360868b557dcb897690178d891c87e91fc27f.tar.bz2 rneovim-837360868b557dcb897690178d891c87e91fc27f.zip |
fix(tests): missing clear() #18927
This was caught in #18674 since it allows test isolation
Diffstat (limited to 'test/functional/api/version_spec.lua')
-rw-r--r-- | test/functional/api/version_spec.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/api/version_spec.lua b/test/functional/api/version_spec.lua index daac862ec8..771192e9ab 100644 --- a/test/functional/api/version_spec.lua +++ b/test/functional/api/version_spec.lua @@ -93,6 +93,7 @@ describe("api metadata", function() local api, compat, stable, api_level local old_api = {} setup(function() + clear() -- Ensure a session before requesting api_info. api = meths.get_api_info()[2] compat = api.version.api_compatible api_level = api.version.api_level |