Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use correct method for exception fill-in blank

  • Loading branch information...
commit 3ed32b45346c2e6a452748a272e8fde5e382cd0a 1 parent aa09d17
Matt Yoho mattyoho authored

Showing 2 changed files with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +1 1  koans/about_symbols.rb
  2. +1 1  src/about_symbols.rb
2  koans/about_symbols.rb
@@ -70,7 +70,7 @@ def test_symbols_do_not_have_string_methods
70 70 # interesting string operations are available on symbols.
71 71 def test_symbols_cannot_be_concatenated
72 72 # Exceptions will be pondered further father down the path
73   - assert_raise(__) do
  73 + assert_raise(___) do
74 74 :cats + :dogs
75 75 end
76 76 end
2  src/about_symbols.rb
@@ -70,7 +70,7 @@ def test_symbols_do_not_have_string_methods
70 70 # interesting string operations are available on symbols.
71 71 def test_symbols_cannot_be_concatenated
72 72 # Exceptions will be pondered further father down the path
73   - assert_raise(__(NoMethodError)) do
  73 + assert_raise(___(NoMethodError)) do
74 74 :cats + :dogs
75 75 end
76 76 end

0 comments on commit 3ed32b4

Please sign in to comment.
Something went wrong with that request. Please try again.