diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-01-31 10:25:51 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-02-01 02:28:54 +0100 |
commit | 648fed975eb8ddde9c5cbc0f859d06deebf80dd9 (patch) | |
tree | 604ff116ccf397bcb2cfbbdff62c360f38bce9c1 /test/functional/eval/system_spec.lua | |
parent | ec7cbabf0156346b9e5adb8770b4ab71c4efda8e (diff) | |
download | rneovim-648fed975eb8ddde9c5cbc0f859d06deebf80dd9.tar.gz rneovim-648fed975eb8ddde9c5cbc0f859d06deebf80dd9.tar.bz2 rneovim-648fed975eb8ddde9c5cbc0f859d06deebf80dd9.zip |
os_system(): do not set up input stream for empty string #7951
Test failure:
test/functional/eval/system_spec.lua: "works with an empty string"
E5677: Error writing input to shell-command: EPIPE
ref https://github.com/neovim/neovim/pull/6558#issuecomment-361061035
ref #6554
Diffstat (limited to 'test/functional/eval/system_spec.lua')
-rw-r--r-- | test/functional/eval/system_spec.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/eval/system_spec.lua b/test/functional/eval/system_spec.lua index 77e7424452..7fe79d4351 100644 --- a/test/functional/eval/system_spec.lua +++ b/test/functional/eval/system_spec.lua @@ -260,6 +260,7 @@ describe('system()', function() end) it('works with an empty string', function() eq("test\n", eval('system("echo test", "")')) + eq(2, eval("1+1")) -- Still alive? end) end) |