summaryrefslogtreecommitdiff
path: root/spec/ruby/core/argf/codepoints_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/argf/codepoints_spec.rb')
-rw-r--r--spec/ruby/core/argf/codepoints_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/ruby/core/argf/codepoints_spec.rb b/spec/ruby/core/argf/codepoints_spec.rb
index 7aa8a761fe..d7b9d08aaa 100644
--- a/spec/ruby/core/argf/codepoints_spec.rb
+++ b/spec/ruby/core/argf/codepoints_spec.rb
@@ -1,6 +1,8 @@
require_relative '../../spec_helper'
require_relative 'shared/each_codepoint'
-describe "ARGF.codepoints" do
- it_behaves_like :argf_each_codepoint, :codepoints
+ruby_version_is ''...'2.8' do
+ describe "ARGF.codepoints" do
+ it_behaves_like :argf_each_codepoint, :codepoints
+ end
end