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.3.33 spec/core/string/split_spec.rb
opal-0.3.32 spec/core/string/split_spec.rb
opal-0.3.31 spec/core/string/split_spec.rb
opal-0.3.30 spec/core/string/split_spec.rb
opal-0.3.29 spec/core/string/split_spec.rb
opal-0.3.28 spec/core/string/split_spec.rb
opal-0.3.27 spec/core/string/split_spec.rb
opal-0.3.26 spec/core/string/split_spec.rb
opal-0.3.25 spec/core/string/split_spec.rb
opal-0.3.22 spec/core/string/split_spec.rb
opal-0.3.21 test/core/string/split_spec.rb
opal-0.3.20 test/core/string/split_spec.rb
opal-0.3.19 test/core/string/split_spec.rb