File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 406406end
407407
408408shared_examples_for "multiline strings" do
409+ before ( :each ) {
410+ # clear buffer
411+ vim . normal 'gg"_dG'
412+
413+ # Insert two blank lines.
414+ # The first line is a corner case in this plugin that would shadow the
415+ # correct behaviour of other tests. Thus we explicitly jump to the first
416+ # line when we require so.
417+ vim . feedkeys 'i\<CR>\<CR>\<ESC>'
418+ }
419+
409420 describe "when after an '(' that is followed by an unfinished string" do
410421 before { vim . feedkeys 'itest("""' }
411422
540551 vim . command "enew"
541552 vim . command "set ft=cython"
542553 vim . command "runtime indent/python.vim"
554+
555+ # Insert two blank lines.
556+ # The first line is a corner case in this plugin that would shadow the
557+ # correct behaviour of other tests. Thus we explicitly jump to the first
558+ # line when we require so.
559+ vim . feedkeys 'i\<CR>\<CR>\<ESC>'
543560 }
544561
545562 describe "when using a cdef function definition" do
You can’t perform that action at this time.
0 commit comments