Sha256: 1ec59fcae3e03d6fc4ef21630f2a504d93a4639c7ddd024bf6449521d2c72112

Contents?: true

Size: 1.19 KB

Versions: 24

Compression:

Stored size: 1.19 KB

Contents

opal_filter "Hash#comapre_by_identity" do
  fails "Hash#compare_by_identity causes future comparisons on the receiver to be made by identity"
  fails "Hash#compare_by_identity causes #compare_by_identity? to return true"
  fails "Hash#compare_by_identity returns self"
  fails "Hash#compare_by_identity uses the semantics of BasicObject#equal? to determine key identity"
  fails "Hash#compare_by_identity uses #equal? semantics, but doesn't actually call #equal? to determine identity"
  fails "Hash#compare_by_identity regards #dup'd objects as having different identities"
  fails "Hash#compare_by_identity regards #clone'd objects as having different identities"
  fails "Hash#compare_by_identity regards references to the same object as having the same identity"
  fails "Hash#compare_by_identity raises a RuntimeError on frozen hashes"
  fails "Hash#compare_by_identity perists over #dups"
  fails "Hash#compare_by_identity persists over #clones"
  fails "Hash#compare_by_identity? returns false by default"
  fails "Hash#compare_by_identity? returns true once #compare_by_identity has been invoked on self"
  fails "Hash#compare_by_identity? returns true when called multiple times on the same ident hash"
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
opal-0.8.1 spec/filters/unsupported/hash_compare_by_identity.rb
opal-0.8.1.rc1 spec/filters/unsupported/hash_compare_by_identity.rb
opal-0.8.0 spec/filters/unsupported/hash_compare_by_identity.rb
opal-0.8.0.rc3 spec/filters/unsupported/hash_compare_by_identity.rb
opal-0.8.0.rc2 spec/filters/unsupported/hash_compare_by_identity.rb
opal-0.8.0.rc1 spec/filters/unsupported/hash_compare_by_identity.rb
opal-0.8.0.beta1 spec/filters/unsupported/hash_compare_by_identity.rb
opal-0.7.2 spec/filters/unsupported/hash_compare_by_identity.rb
opal-0.7.1 spec/filters/unsupported/hash_compare_by_identity.rb
opal-0.7.0 spec/filters/unsupported/hash_compare_by_identity.rb
opal-0.7.0.rc1 spec/filters/unsupported/hash_compare_by_identity.rb
opal-0.7.0.beta3 spec/filters/unsupported/hash_compare_by_identity.rb
opal-0.6.3 spec/filters/unsupported/hash_compare_by_identity.rb
opal-0.7.0.beta2 spec/filters/unsupported/hash_compare_by_identity.rb
opal-cj-0.7.0.beta2 spec/filters/unsupported/hash_compare_by_identity.rb
opal-cj-0.7.0.beta1 spec/filters/unsupported/hash_compare_by_identity.rb
opal-0.7.0.beta1 spec/filters/unsupported/hash_compare_by_identity.rb
opal-0.6.2 spec/filters/unsupported/hash_compare_by_identity.rb
opal-0.6.1 spec/filters/unsupported/hash_compare_by_identity.rb
opal-0.6.0 spec/opal/filters/unsupported/hash_compare_by_identity.rb