test: fix command_count_spec

The test hit wait_return if x or .x.swp exists in the project root directory.
This commit is contained in:
Björn Linse
2016-06-23 11:15:08 +02:00
parent c475e3f8d1
commit e8a8342132
6 changed files with 24 additions and 25 deletions

View File

@@ -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([[