Added __ to assert with no __ blanks.
This commit is contained in:
@@ -22,7 +22,7 @@ class AboutHashes < EdgeCase::Koan
|
|||||||
|
|
||||||
def test_accessing_hashes_with_fetch
|
def test_accessing_hashes_with_fetch
|
||||||
hash = { :one => "uno" }
|
hash = { :one => "uno" }
|
||||||
assert_equal "uno", hash.fetch(:one)
|
assert_equal __("uno"), hash.fetch(:one)
|
||||||
assert_raise(___(IndexError, KeyError)) do
|
assert_raise(___(IndexError, KeyError)) do
|
||||||
hash.fetch(:doesnt_exist)
|
hash.fetch(:doesnt_exist)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user