Sha256: ade3827fae052dc83377e582c358bfb2b4c7d193a5bef53432708c354a72c368

Contents?: true

Size: 132 Bytes

Versions: 81

Compression:

Stored size: 132 Bytes

Contents

describe "Enumerable#reduce" do
  it "breaks out with the proper value" do
    [1, 2, 3].reduce { break 42 }.should == 42
  end
end

Version data entries

81 entries across 81 versions & 3 rubygems

Version Path
opal-1.8.3.rc1 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.8.2 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.8.1 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.8.0 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.8.0.beta1 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.7.4 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.8.0.alpha1 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.7.3 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.7.2 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.7.1 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.7.0 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.7.0.rc1 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.6.1 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.6.0 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.6.0.rc1 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.6.0.alpha1 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.5.1 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.5.0 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.5.0.rc1 spec/opal/core/enumerable/reduce_break_spec.rb
opal-1.4.1 spec/opal/core/enumerable/reduce_break_spec.rb