mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
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.