summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string/succ_spec.rb
blob: 311453702d31ab146a58ff063ef84d345344a653 (plain)
1
2
3
4
5
6
7
8
9
10
11
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes.rb', __FILE__)
require File.expand_path('../shared/succ.rb', __FILE__)

describe "String#succ" do
  it_behaves_like(:string_succ, :succ)
end

describe "String#succ!" do
  it_behaves_like(:string_succ_bang, :"succ!")
end