mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Moved regexps not to confuse ruby-mode.el
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
17ca870a4d
commit
17b6be1ddc
1 changed files with 5 additions and 1 deletions
|
@ -700,7 +700,11 @@ end.join
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue