Sha256: e9212fef2f7a3bbbbff6a88df860aa6abfd183fd106dd2e0f8c21a0e411199de
Contents?: true
Size: 264 Bytes
Versions: 33
Compression:
Stored size: 264 Bytes
Contents
describe "String#succ" do it "returns an empty string for empty strings" do "".succ.should == "" end it "returns the successor by increasing the rightmost alphanumeric" do "abcd".succ.should == "abce" "THX1138".succ.should == "THX1139" end end
Version data entries
33 entries across 33 versions & 1 rubygems