mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-15 07:23:19 -04:00
Fix private message error for JRuby.
This commit is contained in:
@@ -130,7 +130,7 @@ class AboutMethods < EdgeCase::Koan
|
|||||||
exception = assert_raise(___(NoMethodError)) do
|
exception = assert_raise(___(NoMethodError)) do
|
||||||
self.my_private_method
|
self.my_private_method
|
||||||
end
|
end
|
||||||
assert_match /#{__("private method `my_private_method' called ")}/, exception.message
|
assert_match /#{__("method `my_private_method'")}/, exception.message
|
||||||
end
|
end
|
||||||
|
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user