Skip to content

Commit e30eaac

Browse files
committed
Fix cython tests that successful due to Vim segfaulting and vimrunner not handling it
1 parent 0a9b6e2 commit e30eaac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

spec/indent/cython_spec.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44
before(:all) {
55
vim.command "new"
66
vim.command "set ft=cython"
7-
# vim.command("set indentexpr?").should include "GetPythonPEPIndent("
7+
vim.command("set indentexpr?").should include "GetPythonPEPIndent("
88
}
99
before(:each) {
10+
# clear buffer
11+
vim.normal 'gg"_dG'
12+
1013
# Insert two blank lines.
1114
# The first line is a corner case in this plugin that would shadow the
1215
# correct behaviour of other tests. Thus we explicitly jump to the first

0 commit comments

Comments
 (0)