Sha256: a08440e308632cd0c28032adae5f00bf9c9c936469e6b02262f77c404069a4c5

Contents?: true

Size: 1.04 KB

Versions: 8

Compression:

Stored size: 1.04 KB

Contents

opal_filter "Hash" do
  fails "Hash#== compares keys with eql? semantics" # spec relies on integer and float being different
  fails "Hash#== computes equality for complex recursive hashes"
  fails "Hash#== computes equality for recursive hashes & arrays"
  fails "Hash#each yields the key only to a block expecting |key,|" # procs in Opal do not have access to this info (yet)
  fails "Hash#each_pair yields the key only to a block expecting |key,|" # procs in Opal do not have access to this info (yet)
  fails "Hash#eql? compares keys with eql? semantics" # spec relies on integer and float being different
  fails "Hash#eql? computes equality for complex recursive hashes"
  fails "Hash#eql? computes equality for recursive hashes & arrays"
  fails "Hash#invert compares new keys with eql? semantics" # spec relies on integer and float being different
  fails "Hash#[] compares keys with eql? semantics" # spec relies on integer and float being different
  fails "Hash#[] does not create copies of the immediate default value" # spec uses mutable string
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
opal-0.9.4 spec/filters/bugs/hash.rb
opal-0.9.3 spec/filters/bugs/hash.rb
opal-0.10.0.beta3 spec/filters/bugs/hash.rb
opal-0.10.0.beta2 spec/filters/bugs/hash.rb
opal-0.10.0.beta1 spec/filters/bugs/hash.rb
opal-0.9.2 spec/filters/bugs/hash.rb
opal-0.9.0 spec/filters/bugs/hash.rb
opal-0.9.0.rc1 spec/filters/bugs/hash.rb