Use correct method for exception fill-in blank

This commit is contained in:
Matt Yoho
2010-09-21 15:32:43 -04:00
parent aa09d17630
commit 3ed32b4534
2 changed files with 2 additions and 2 deletions

View File

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

View File

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