git://git.eng.unimelb.edu.au
/
ruby_koans.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added __ to assert with no __ blanks.
[ruby_koans.git]
/
src
/
about_hashes.rb
diff --git
a/src/about_hashes.rb
b/src/about_hashes.rb
index
27a6fd1
..
2382d68
100644
(file)
--- a/
src/about_hashes.rb
+++ b/
src/about_hashes.rb
@@
-22,7
+22,7
@@
class AboutHashes < EdgeCase::Koan
def test_accessing_hashes_with_fetch
hash = { :one => "uno" }
- assert_equal
"uno"
, hash.fetch(:one)
+ assert_equal
__("uno")
, hash.fetch(:one)
assert_raise(___(IndexError, KeyError)) do
hash.fetch(:doesnt_exist)
end