What is the answer to the bonus question in test_changing_hashes of Ruby Koans?
It's because you can't use something like this:
assert_equal { :one => "eins", :two => "dos" }, hash
Ruby thinks that { ... }
is a block, so it should be "broken out into a variable", but you can always use assert_equal({ :one => "eins", :two => "dos" }, hash)
I thought it was more readable, but you can still do something like this:
assert_equal true, { :one => "eins", :two => "dos" } == hash