Sha256: f60f5d4d83cd9ed66b1f65d1dd5230a022324715611b216871e76bddd3ad88de

Contents?: true

Size: 504 Bytes

Versions: 12

Compression:

Stored size: 504 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:0x45a30>.lambda? to be truthy but was false  
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
opal-1.8.3.rc1 spec/filters/bugs/symbol.rb
opal-1.8.2 spec/filters/bugs/symbol.rb
opal-1.8.1 spec/filters/bugs/symbol.rb
opal-1.8.0 spec/filters/bugs/symbol.rb
opal-1.8.0.beta1 spec/filters/bugs/symbol.rb
opal-1.7.4 spec/filters/bugs/symbol.rb
opal-1.8.0.alpha1 spec/filters/bugs/symbol.rb
opal-1.7.3 spec/filters/bugs/symbol.rb
opal-1.7.2 spec/filters/bugs/symbol.rb
opal-1.7.1 spec/filters/bugs/symbol.rb
opal-1.7.0 spec/filters/bugs/symbol.rb
opal-1.7.0.rc1 spec/filters/bugs/symbol.rb