From 7f29082e95c894ea94c8eb4d1db15d07dd1ba671 Mon Sep 17 00:00:00 2001 From: Ethan Zimmerman Date: Tue, 5 Jun 2012 14:22:14 -0400 Subject: [PATCH] Modify test to better illustrate point --- src/about_hashes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/about_hashes.rb b/src/about_hashes.rb index 2382d68..afb17b3 100644 --- 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? -- 1.8.0.2