summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string/next_spec.rb
blob: 185f857cf0862f5b87426c521593e5617d4ab993 (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