test/extra/test_autoindent.rb in rib-1.2.7 vs test/extra/test_autoindent.rb in rib-1.2.8

- old
+ new

@@ -17,19 +17,19 @@ before do Rib::Multiline.enable Rib::Autoindent.enable @indent = autoindent.new - mock(@indent).puts(match(/^\e/)).times(0) + mock(@indent).puts(matching(/^\e/)).times(0) end def ri input, size @indent.eval_input(input) @indent.stack_size.should.eq size end def le input, size - mock(@indent).puts(match(/^\e/)){} + mock(@indent).puts(matching(/^\e/)){} @indent.eval_input(input) @indent.stack_size.should.eq size end would 'begin rescue else end' do