Sha256: ff4d464c5fc237c082932260a489500185dcdf917f5d42cbfc923b0943af4d33

Contents?: true

Size: 687 Bytes

Versions: 12

Compression:

Stored size: 687 Bytes

Contents

# NOTE: run bin/format-filters after changing this file
opal_unsupported_filter "Singleton" do
  fails "Singleton#_dump returns an empty string from a singleton subclass" # NoMethodError: undefined method `_dump' for #<SingletonSpecs::MyClassChild:0x9dc>
  fails "Singleton#_dump returns an empty string" # NoMethodError: undefined method `_dump' for #<SingletonSpecs::MyClass:0x794>
  fails "Singleton.allocate is a private method" # Expected NoMethodError but no exception was raised (#<SingletonSpecs::MyClass:0x9b4> was returned)
  fails "Singleton.new is a private method" # Expected NoMethodError but no exception was raised (#<SingletonSpecs::NewSpec:0xafbfc> was returned)  
end

Version data entries

12 entries across 12 versions & 1 rubygems

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