mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02: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
|
end
|
||||||
|
|
||||||
def test_cause_at_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{n}; END{return}
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue