Sha256: d964c95e21aea56d52b703ef6300bdf0ce64945b5f2ed0cec63d77f384d2f887

Contents?: true

Size: 501 Bytes

Versions: 10

Compression:

Stored size: 501 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 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

10 entries across 10 versions & 1 rubygems

Version Path
opal-1.6.1 spec/filters/bugs/symbol.rb
opal-1.6.0 spec/filters/bugs/symbol.rb
opal-1.6.0.rc1 spec/filters/bugs/symbol.rb
opal-1.6.0.alpha1 spec/filters/bugs/symbol.rb
opal-1.5.1 spec/filters/bugs/symbol.rb
opal-1.5.0 spec/filters/bugs/symbol.rb
opal-1.5.0.rc1 spec/filters/bugs/symbol.rb
opal-1.4.1 spec/filters/bugs/symbol.rb
opal-1.4.0 spec/filters/bugs/symbol.rb
opal-1.4.0.alpha1 spec/filters/bugs/symbol.rb