Sha256: 1160022f4628cce85fdfbd92da3a05c1721a4bb835a7f312a7693ca83cb50c0e

Contents?: true

Size: 700 Bytes

Versions: 9

Compression:

Stored size: 700 Bytes

Contents

opal_filter "Opal bugs" do
  fails "Array#join raises a NoMethodError if an element does not respond to #to_str, #to_ary, or #to_s"

  # arity checking bugs
  fails "Array#shift passed a number n as an argument raises an ArgumentError if more arguments are passed"
  fails "Array#pop passed a number n as an argument raises an ArgumentError if more arguments are passed"

  # lacking regexp conversion
  fails "String#index with Regexp supports \\G which matches at the given start offset"
  fails "String#index with Regexp starts the search at the given offset"
  fails "String#index with Regexp returns the index of the first match of regexp"

  fails "Kernel#warn requires multiple arguments"
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
opal-0.7.2 spec/filters/bugs/opal.rb
opal-0.7.1 spec/filters/bugs/opal.rb
opal-0.7.0 spec/filters/bugs/opal.rb
opal-0.7.0.rc1 spec/filters/bugs/opal.rb
opal-0.7.0.beta3 spec/filters/bugs/opal.rb
opal-0.7.0.beta2 spec/filters/bugs/opal.rb
opal-cj-0.7.0.beta2 spec/filters/bugs/opal.rb
opal-cj-0.7.0.beta1 spec/filters/bugs/opal.rb
opal-0.7.0.beta1 spec/filters/bugs/opal.rb