Modified: MacRuby/trunk/test_vm/hash.rb (3410 => 3411)
--- MacRuby/trunk/test_vm/hash.rb 2010-02-02 05:31:53 UTC (rev 3410)
+++ MacRuby/trunk/test_vm/hash.rb 2010-02-02 15:26:50 UTC (rev 3411)
@@ -1 +1,8 @@
-assert "lettuce\nbacon", '{:main_ingredient => "lettuce", :total => "bacon"}.each { |_,v| puts v }'
\ No newline at end of file
+assert "lettuce\nbacon", '{:main_ingredient => "lettuce", :total => "bacon"}.each { |_,v| puts v }'
+
+assert "42", %{
+ module H; end
+ class Hash; include H; end
+ d = NSDictionary.dictionaryWithDictionary('answer' => 42)
+ p d['answer']
+}
\ No newline at end of file