git://git.eng.unimelb.edu.au
/
ruby_koans.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
75ba956
)
Modify test to better illustrate point
author
Ethan Zimmerman
<thebinarypenguin@gmail.com>
Tue, 5 Jun 2012 18:22:14 +0000
(14:22 -0400)
committer
Ethan Zimmerman
<thebinarypenguin@gmail.com>
Tue, 5 Jun 2012 18:22:14 +0000
(14:22 -0400)
src/about_hashes.rb
patch
|
blob
|
history
diff --git
a/src/about_hashes.rb
b/src/about_hashes.rb
index
2382d68
..
afb17b3
100644
(file)
--- a/
src/about_hashes.rb
+++ b/
src/about_hashes.rb
@@
-37,7
+37,7
@@
class AboutHashes < EdgeCase::Koan
hash[:one] = "eins"
expected = { :one => __("eins"), :two => "dos" }
- assert_equal __(
true), expected ==
hash
+ assert_equal __(
expected),
hash
# Bonus Question: Why was "expected" broken out into a variable
# rather than used as a literal?