From: Hassan Kibirige Date: Mon, 24 Mar 2014 09:34:40 +0000 (-0500) Subject: Fix test case introduced in last commit. X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/b430740f94385419258e16fdf5f22dd20a5637e6?ds=inline;hp=4224ee71e4cdbfa8ef08a59b0db62d915af1b0b6 Fix test case introduced in last commit. --- diff --git a/spec/indent/indent_spec.rb b/spec/indent/indent_spec.rb index e300cb0..15e265a 100644 --- a/spec/indent/indent_spec.rb +++ b/spec/indent/indent_spec.rb @@ -217,8 +217,8 @@ shared_examples_for "vim" do end describe "when current line is dedented compared to the last non-empty line" do - before { vim.feedkeys 'i\\if x:\y = True\\\' } - it "and current line has a valid indentation (Part 1)" do + before { vim.feedkeys 'i\\if x:\y = True\\\' } + it "and current line has a valid indentation" do vim.feedkeys '0i\if y:' proposed_indent.should == -1 end