ruby-changes:54282
From: nobu <ko1@a...>
Date: Sat, 22 Dec 2018 16:14:17 +0900 (JST)
Subject: [ruby-changes:54282] nobu:r66491 (trunk): Moved regexps not to confuse ruby-mode.el
nobu 2018-12-22 16:14:12 +0900 (Sat, 22 Dec 2018) New Revision: 66491 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66491 Log: Moved regexps not to confuse ruby-mode.el Modified files: trunk/test/ruby/test_exception.rb Index: test/ruby/test_exception.rb =================================================================== --- test/ruby/test_exception.rb (revision 66490) +++ test/ruby/test_exception.rb (revision 66491) @@ -700,7 +700,11 @@ end.join https://github.com/ruby/ruby/blob/trunk/test/ruby/test_exception.rb#L700 end def test_cause_at_end - assert_in_out_err([], <<-'end;', [], [/-: unexpected return\n/, /.*undefined local variable or method `n'.*\n/]) + errs = [ + /-: unexpected return\n/, + /.*undefined local variable or method `n'.*\n/, + ] + assert_in_out_err([], <<-'end;', [], errs) END{n}; END{return} end; end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/