summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string/each_codepoint_spec.rb
blob: 41ca5276530566cba337b9f362f36b802f65a963 (plain)
1
2
3
4
5
6
7
8
9
10
require_relative '../../spec_helper'
require_relative 'shared/codepoints'
require_relative 'shared/each_codepoint_without_block'

with_feature :encoding do
  describe "String#each_codepoint" do
    it_behaves_like :string_codepoints, :each_codepoint
    it_behaves_like :string_each_codepoint_without_block, :each_codepoint
  end
end