Skip to content

Commit f17537d

Browse files
committed
split up write/redraw in test suite to improve reliability
1 parent af0b49a commit f17537d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/spec_helper.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ def with_file(content = nil)
7676

7777
yield if block_given?
7878

79-
@vim.normal ":w<CR>:redraw<CR>"
79+
@vim.normal ":w<CR>"
80+
@vim.normal ":redraw<CR>"
8081
IO.read(@file)
8182
end
8283

0 commit comments

Comments
 (0)