diff options
| author | Scott Prager <splinterofchaos@gmail.com> | 2015-05-02 10:30:30 -0400 |
|---|---|---|
| committer | Scott Prager <splinterofchaos@gmail.com> | 2015-05-02 10:30:30 -0400 |
| commit | 1c2c90ab0720784473805d20c359499a2d3d2ccf (patch) | |
| tree | 8c4e587c91bbf91748c7ace6338aa3f609eaec0f /test/functional/terminal/highlight_spec.lua | |
| parent | 205466830207a920c62146b7b689fac2e395431a (diff) | |
| parent | 1eb33969220b267cf45adb286f0b7b6d14805eff (diff) | |
| download | rneovim-1c2c90ab0720784473805d20c359499a2d3d2ccf.tar.gz rneovim-1c2c90ab0720784473805d20c359499a2d3d2ccf.tar.bz2 rneovim-1c2c90ab0720784473805d20c359499a2d3d2ccf.zip | |
Merge pull request #2424 from splinterofchaos/term-no-sh
use an argument vector for termopen() / unify jobstart, termopen, and system
Diffstat (limited to 'test/functional/terminal/highlight_spec.lua')
| -rw-r--r-- | test/functional/terminal/highlight_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/terminal/highlight_spec.lua b/test/functional/terminal/highlight_spec.lua index 59b0d2c19d..b72527e7b6 100644 --- a/test/functional/terminal/highlight_spec.lua +++ b/test/functional/terminal/highlight_spec.lua @@ -27,7 +27,7 @@ describe('terminal window highlighting', function() [8] = {background = 11} }) screen:attach(false) - execute('term "' ..nvim_dir.. '/tty-test"') + execute('enew | call termopen(["'..nvim_dir..'/tty-test"]) | startinsert') screen:expect([[ tty ready | | @@ -133,7 +133,7 @@ describe('terminal window highlighting with custom palette', function() }) screen:attach(true) nvim('set_var', 'terminal_color_3', '#123456') - execute('term "' ..nvim_dir.. '/tty-test"') + execute('enew | call termopen(["'..nvim_dir..'/tty-test"]) | startinsert') screen:expect([[ tty ready | | |
