Sha256: 44b1a4099f90848cc903e827cf3e6ba36631d4152e91de4c5d245b9a7c0cfdd2

Contents?: true

Size: 739 Bytes

Versions: 1

Compression:

Stored size: 739 Bytes

Contents

opal_filter "Class" do
  fails "Class#allocate raises TypeError for #superclass"
  fails "Class#dup duplicates both the class and the singleton class"
  fails "Class#dup retains an included module in the ancestor chain for the singleton class"
  fails "Class#dup retains the correct ancestor chain for the singleton class"
  fails "Class#initialize raises a TypeError when called on BasicObject"
  fails "Class#initialize raises a TypeError when called on already initialized classes"
  fails "Class#initialize when given the Class raises a TypeError"
  fails "Class#new uses the internal allocator and does not call #allocate" # RuntimeError: allocate should not be called
  fails "Class.new raises a TypeError if passed a metaclass"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opal-0.11.0.rc1 spec/filters/bugs/class.rb