Sha256: 28c18eb26925c4776e41015111145423fdb94982258d26631d1568e9414fa205

Contents?: true

Size: 679 Bytes

Versions: 11

Compression:

Stored size: 679 Bytes

Contents

# NOTE: run bin/format-filters after changing this file
opal_filter "Symbol" do
  fails "Symbol#to_proc produces a Proc that always returns [[:req], [:rest]] for #parameters" # Expected [["rest", "args"], ["block", "block"]] == [["req"], ["rest"]] to be truthy but was false
  fails "Symbol#to_proc produces a Proc that always returns [[:rest]] for #parameters" # Expected [["rest", "args"], ["block", "block"]] == [["rest"]] to be truthy but was false
  fails "Symbol#to_proc produces a Proc with arity -2" # Expected -1 == -2 to be truthy but was false
  fails "Symbol#to_proc returns a Proc with #lambda? true" # Expected #<Proc:0xd6f0>.lambda? to be truthy but was false
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
opal-1.3.2 spec/filters/bugs/symbol.rb
opal-1.3.1 spec/filters/bugs/symbol.rb
opal-1.3.0 spec/filters/bugs/symbol.rb
opal-1.3.0.rc1 spec/filters/bugs/symbol.rb
opal-1.3.0.alpha1 spec/filters/bugs/symbol.rb
opal-1.2.0 spec/filters/bugs/symbol.rb
opal-1.2.0.beta1 spec/filters/bugs/symbol.rb
opal-1.1.1 spec/filters/bugs/symbol.rb
opal-1.1.1.rc1 spec/filters/bugs/symbol.rb
opal-1.1.0 spec/filters/bugs/symbol.rb
opal-1.1.0.rc1 spec/filters/bugs/symbol.rb