Merge pull request #77 from thebinarypenguin/about-hashes-bonus-question
authorMarc Peabody <marcpeabody@yahoo.com>
Tue, 5 Jun 2012 19:19:07 +0000 (12:19 -0700)
committerMarc Peabody <marcpeabody@yahoo.com>
Tue, 5 Jun 2012 19:19:07 +0000 (12:19 -0700)
Modify test to better illustrate point

src/about_hashes.rb

index 2382d68..afb17b3 100644 (file)
@@ -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?