Sha256: 5442f389fdcea6ce5fc1c8cefb46523cab8ed2227efcdc46a5dbcd6a1302330f

Contents?: true

Size: 190 Bytes

Versions: 33

Compression:

Stored size: 190 Bytes

Contents

describe "String#split with String" do
  it "returns an array of substrings based on splitting on the given string" do
    "mellow yellow".split("ello").should == ["m", "w y", "w"]
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
opal-0.5.5 spec/opal/core/string/split_spec.rb
opal-0.5.4 spec/corelib/string/split_spec.rb
opal-0.5.2 spec/corelib/string/split_spec.rb
opal-0.5.0 spec/corelib/string/split_spec.rb
opal-0.4.4 spec/rubyspec/core/string/split_spec.rb
opal-0.4.3 spec/rubyspec/core/string/split_spec.rb
opal-0.4.2 spec/rubyspec/core/string/split_spec.rb
opal-0.4.1 spec/rubyspec/core/string/split_spec.rb
opal-0.4.0 spec/rubyspec/core/string/split_spec.rb
opal-0.3.44 spec/rubyspec/core/string/split_spec.rb
opal-0.3.43 spec/rubyspec/core/string/split_spec.rb
opal-0.3.42 spec/core/string/split_spec.rb
opal-0.3.41 spec/core/string/split_spec.rb
opal-0.3.40 spec/core/string/split_spec.rb
opal-0.3.39 spec/core/string/split_spec.rb
opal-0.3.38 spec/core/string/split_spec.rb
opal-0.3.37 spec/core/string/split_spec.rb
opal-0.3.36 spec/core/string/split_spec.rb
opal-0.3.35 spec/core/string/split_spec.rb
opal-0.3.34 spec/core/string/split_spec.rb