Sha256: a2b8c368e3b368bbbcdc7a58bdf140043ab0cf5680c3a83033f76785f2f94b9a

Contents?: true

Size: 207 Bytes

Versions: 29

Compression:

Stored size: 207 Bytes

Contents

describe "String#size" do
  it "returns the length of self" do
    "".size.should == 0
    "one".size.should == 3
    "two".size.should == 3
    "three".size.should == 5
    "four".size.should == 4
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
opal-0.3.29 spec/core/string/size_spec.rb
opal-0.3.28 spec/core/string/size_spec.rb
opal-0.3.27 spec/core/string/size_spec.rb
opal-0.3.26 spec/core/string/size_spec.rb
opal-0.3.25 spec/core/string/size_spec.rb
opal-0.3.22 spec/core/string/size_spec.rb
opal-0.3.21 test/core/string/size_spec.rb
opal-0.3.20 test/core/string/size_spec.rb
opal-0.3.19 test/core/string/size_spec.rb