mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
parent
0266e4def2
commit
ce459c1df3
1 changed files with 4 additions and 0 deletions
|
@ -98,6 +98,8 @@ class MethodNameCheckTest < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_does_not_append_suggestions_twice
|
||||
omit "This test is not working with JRuby" if RUBY_ENGINE == "jruby"
|
||||
|
||||
error = assert_raise NoMethodError do
|
||||
begin
|
||||
@user.firstname
|
||||
|
@ -110,6 +112,8 @@ class MethodNameCheckTest < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_does_not_append_suggestions_three_times
|
||||
omit "This test is not working with JRuby" if RUBY_ENGINE == "jruby"
|
||||
|
||||
error = assert_raise NoMethodError do
|
||||
begin
|
||||
@user.raise_no_method_error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue