summaryrefslogtreecommitdiff
path: root/spec/ruby/library/stringio/codepoints_spec.rb
blob: ceaadefc32a1d27cadb419ec5b8c7abb318e54c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- encoding: utf-8 -*-
require_relative '../../spec_helper'
require_relative 'fixtures/classes'
require_relative 'shared/codepoints'

ruby_version_is ''...'3.0' do
  # See redmine #1667
  describe "StringIO#codepoints" do
    before :each do
      @verbose, $VERBOSE = $VERBOSE, nil
    end

    after :each do
      $VERBOSE = @verbose
    end

    it_behaves_like :stringio_codepoints, :codepoints
  end
end