Sha256: f125ab3ca8043c1549f8f6e36c2b0e48581b0dcb747f5dde90983199e64a014c
Contents?: true
Size: 293 Bytes
Versions: 5
Compression:
Stored size: 293 Bytes
Contents
require 'test/unit' require File.dirname(__FILE__) + '/../lib/object_proxy' class ObjectProxySafeHashTest < Test::Unit::TestCase def test_object_proxy_identifies_as_target_for_hash_lookup object = 'a string' hash = {object => true} assert hash[ObjectProxy.new(object)] end end
Version data entries
5 entries across 5 versions & 2 rubygems