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