aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/core/string/next_spec.rb
blob: 6b4a98d993a491448c92e476302150196bb4b1d5 (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#next" do
  it_behaves_like(:string_succ, :next)
end

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