diff options
author | James McCoy <jamessan@jamessan.com> | 2017-02-02 19:52:59 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2017-02-02 19:52:59 -0500 |
commit | ce51fa09551d6f807b87a05b8ec204f65fa70a4d (patch) | |
tree | 08960edc785ddcf810f98115ba4c7616bee4f934 /test/functional/eval/executable_spec.lua | |
parent | 7e30fe315786c9e10817f87e5b80da70807e9cb1 (diff) | |
download | rneovim-ce51fa09551d6f807b87a05b8ec204f65fa70a4d.tar.gz rneovim-ce51fa09551d6f807b87a05b8ec204f65fa70a4d.tar.bz2 rneovim-ce51fa09551d6f807b87a05b8ec204f65fa70a4d.zip |
test: Turn printargs_path into a function
When test/functional/eval/system_spec.lua is run on its own,
helpers.os_name() was being called before a session had been created.
This caused that describe block to fail.
Turning printargs_path into a function delays the call of
helpers.os_name() until the test is being run, which ensures a session
is available.
Diffstat (limited to 'test/functional/eval/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions