Sha256: 371831934eba2662665bd52771d991b074184db420d84209347a382cf02bcda3

Contents?: true

Size: 587 Bytes

Versions: 12

Compression:

Stored size: 587 Bytes

Contents

# NOTE: run bin/format-filters after changing this file
opal_unsupported_filter "Enumerable" do
  fails "Enumerable#chunk does not return elements for which the block returns :_separator" # Expected [[1, [1]], ["_separator", [2]], [1, [3, 3]], ["_separator", [2]], [1, [1]]] == [[1, [1]], [1, [3, 3]], [1, [1]]] to be truthy but was false
  fails "Enumerable#chunk raises a RuntimeError if the block returns a Symbol starting with an underscore other than :_alone or :_separator" # Expected RuntimeError but no exception was raised ([["_arbitrary", [1, 2, 3, 2, 1]]] was returned)  
end

Version data entries

12 entries across 12 versions & 1 rubygems

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