mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-15 07:23:19 -04:00
Updated with Rubinius Support
This commit is contained in:
@@ -44,7 +44,7 @@ class AboutMethods < EdgeCase::Koan
|
||||
my_global_method
|
||||
end
|
||||
#--
|
||||
pattern = "wrong (number|#) of arguments"
|
||||
pattern = "wrong (number|#) of arguments|given \\d+, expected \\d+"
|
||||
#++
|
||||
assert_match(/#{__(pattern)}/, exception.message)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user