Sha256: ff200bffd18abde87531a286d7085798e51adc523199f9016684ceca0904ffaa

Contents?: true

Size: 649 Bytes

Versions: 4

Compression:

Stored size: 649 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"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
opal-0.6.3 spec/filters/bugs/opal.rb
opal-0.6.2 spec/filters/bugs/opal.rb
opal-0.6.1 spec/filters/bugs/opal.rb
opal-0.6.0 spec/opal/filters/bugs/opal.rb