summaryrefslogtreecommitdiff
path: root/spec/ruby/core/argf/bytes_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/argf/bytes_spec.rb')
-rw-r--r--spec/ruby/core/argf/bytes_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/ruby/core/argf/bytes_spec.rb b/spec/ruby/core/argf/bytes_spec.rb
index 71d07fabcb..58a7082fd2 100644
--- a/spec/ruby/core/argf/bytes_spec.rb
+++ b/spec/ruby/core/argf/bytes_spec.rb
@@ -1,6 +1,8 @@
require_relative '../../spec_helper'
require_relative 'shared/each_byte'
-describe "ARGF.bytes" do
- it_behaves_like :argf_each_byte, :bytes
+ruby_version_is ''...'2.8' do
+ describe "ARGF.bytes" do
+ it_behaves_like :argf_each_byte, :bytes
+ end
end