Sha256: 499f49d88db24ee5b6fb502cfcc003fea0ad09d167bb947ea339503cc803fc62

Contents?: true

Size: 1.22 KB

Versions: 2

Compression:

Stored size: 1.22 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#fetch raises an ArgumentError when not passed one or two arguments" # arity issue?
  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
  fails "Hash.new raises an ArgumentError if more than one argument is passed" # arity issue?
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
opal-0.9.0.beta2 spec/filters/bugs/hash.rb
opal-0.9.0.beta1 spec/filters/bugs/hash.rb