diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2022-03-27 10:25:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-27 10:25:55 -0700 |
commit | 72652cbc46f568128bfc296ba63fb2d26941da8e (patch) | |
tree | 45883e033228aacc55df313edb7acac1e1d76698 /test/functional/vimscript/lang_spec.lua | |
parent | 05edab85d7edad63c3b449689b57f9f658782c11 (diff) | |
download | rneovim-72652cbc46f568128bfc296ba63fb2d26941da8e.tar.gz rneovim-72652cbc46f568128bfc296ba63fb2d26941da8e.tar.bz2 rneovim-72652cbc46f568128bfc296ba63fb2d26941da8e.zip |
feat(test): use nvim_exec in helpers.source() #16064
helpers.source() was a hack to work around the lack of anonymous
:source. Its "create tempfile" behavior is not a required part of most
tests that use it.
Some tests still need the old "create tempfile" behavior either because
they test SID behavior, or because of missing nvim_exec features: #16071
Diffstat (limited to 'test/functional/vimscript/lang_spec.lua')
-rw-r--r-- | test/functional/vimscript/lang_spec.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/vimscript/lang_spec.lua b/test/functional/vimscript/lang_spec.lua index d5254986ab..90437f2ee1 100644 --- a/test/functional/vimscript/lang_spec.lua +++ b/test/functional/vimscript/lang_spec.lua @@ -11,6 +11,7 @@ describe('vimscript', function() return end source([[ + let s:foo = 1 func! <sid>_dummy_function() echo 1 endfunc |