1
0
Fork 0
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:
nobu 2018-12-22 07:14:12 +00:00
parent 17ca870a4d
commit 17b6be1ddc

View file

@ -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