Sha256: 6ade758bcdab01af24e74feca90abcb9ec9c3c6d964f0f203e2c2daac7d63bdf

Contents?: true

Size: 1.12 KB

Versions: 10

Compression:

Stored size: 1.12 KB

Contents

# NOTE: run bin/format-filters after changing this file
opal_filter "Numeric" do
  fails "Numeric#clone does not change frozen status" # Expected false == true to be truthy but was false
  fails "Numeric#clone raises ArgumentError if passed freeze: false" # Expected ArgumentError (/can't unfreeze/) but no exception was raised (1 was returned)
  fails "Numeric#dup does not change frozen status" # Expected false == true to be truthy but was false
  fails "Numeric#remainder returns the result of calling self#% with other - other if self is greater than 0 and other is less than 0"
  fails "Numeric#remainder returns the result of calling self#% with other - other if self is less than 0 and other is greater than 0"
  fails "Numeric#remainder returns the result of calling self#% with other if self and other are greater than 0"
  fails "Numeric#remainder returns the result of calling self#% with other if self and other are less than 0"
  fails "Numeric#remainder returns the result of calling self#% with other if self is 0"
  fails "Numeric#singleton_method_added raises a TypeError when trying to define a singleton method on a Numeric"
end

Version data entries

10 entries across 10 versions & 1 rubygems

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