From: Matt Yoho Date: Tue, 21 Sep 2010 19:32:43 +0000 (-0400) Subject: Use correct method for exception fill-in blank X-Git-Tag: rubykoans-2010-11-29~28 X-Git-Url: https://git.eng.unimelb.edu.au/public?a=commitdiff_plain;h=3ed32b45346c2e6a452748a272e8fde5e382cd0a;p=ruby_koans.git Use correct method for exception fill-in blank --- diff --git a/koans/about_symbols.rb b/koans/about_symbols.rb index 2aad194..e78c65a 100644 --- a/koans/about_symbols.rb +++ b/koans/about_symbols.rb @@ -70,7 +70,7 @@ class AboutSymbols < EdgeCase::Koan # interesting string operations are available on symbols. def test_symbols_cannot_be_concatenated # Exceptions will be pondered further father down the path - assert_raise(__) do + assert_raise(___) do :cats + :dogs end end diff --git a/src/about_symbols.rb b/src/about_symbols.rb index cf1b8b0..17dfa81 100644 --- a/src/about_symbols.rb +++ b/src/about_symbols.rb @@ -70,7 +70,7 @@ class AboutSymbols < EdgeCase::Koan # interesting string operations are available on symbols. def test_symbols_cannot_be_concatenated # Exceptions will be pondered further father down the path - assert_raise(__(NoMethodError)) do + assert_raise(___(NoMethodError)) do :cats + :dogs end end