Updated with Rubinius Support

This commit is contained in:
Jim Weirich
2010-12-25 08:11:31 -05:00
parent db3bbdcf45
commit 3ce23a8ee0
4 changed files with 23 additions and 16 deletions

View File

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