diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2016-06-23 11:15:08 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2016-06-23 16:54:19 +0200 |
commit | e8a8342132d47a0f5b94248049238bf16b23715e (patch) | |
tree | 64b24b4f61001c9c892c1e8eaf91e8203d848ff7 /test/functional/ex_cmds/write_spec.lua | |
parent | c475e3f8d165e91cbafe4e34ae1ca3c857533703 (diff) | |
download | rneovim-e8a8342132d47a0f5b94248049238bf16b23715e.tar.gz rneovim-e8a8342132d47a0f5b94248049238bf16b23715e.tar.bz2 rneovim-e8a8342132d47a0f5b94248049238bf16b23715e.zip |
test: fix command_count_spec
The test hit wait_return if x or .x.swp exists in the project root directory.
Diffstat (limited to 'test/functional/ex_cmds/write_spec.lua')
-rw-r--r-- | test/functional/ex_cmds/write_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/ex_cmds/write_spec.lua b/test/functional/ex_cmds/write_spec.lua index 7f5eba1fc8..b38ae29f7d 100644 --- a/test/functional/ex_cmds/write_spec.lua +++ b/test/functional/ex_cmds/write_spec.lua @@ -12,7 +12,7 @@ describe(':write', function() end) it('&backupcopy=auto preserves symlinks', function() - clear('set backupcopy=auto') + clear('--cmd', 'set backupcopy=auto') write_file('test_bkc_file.txt', 'content0') execute("silent !ln -s test_bkc_file.txt test_bkc_link.txt") source([[ @@ -25,7 +25,7 @@ describe(':write', function() end) it('&backupcopy=no replaces symlink with new file', function() - clear('set backupcopy=no') + clear('--cmd', 'set backupcopy=no') write_file('test_bkc_file.txt', 'content0') execute("silent !ln -s test_bkc_file.txt test_bkc_link.txt") source([[ |