summaryrefslogtreecommitdiff
path: root/spec/ruby/core/io/buffer/empty_spec.rb
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2026-01-28 22:30:21 +0100
committerBenoit Daloze <eregontp@gmail.com>2026-01-28 23:01:22 +0100
commitdbd2ff7adca9b49e4bfa7bc3ec8b83bd437f8cb7 (patch)
tree5f4f1609d2015fde92c25b175b84078dfcf1c92f /spec/ruby/core/io/buffer/empty_spec.rb
parenta8b877a843643fbdccd1a42efaf94ad27705dd55 (diff)
Update to ruby/spec@83e26c9
Diffstat (limited to 'spec/ruby/core/io/buffer/empty_spec.rb')
-rw-r--r--spec/ruby/core/io/buffer/empty_spec.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/spec/ruby/core/io/buffer/empty_spec.rb b/spec/ruby/core/io/buffer/empty_spec.rb
index e1fd4ab6a2..788b23f88f 100644
--- a/spec/ruby/core/io/buffer/empty_spec.rb
+++ b/spec/ruby/core/io/buffer/empty_spec.rb
@@ -14,11 +14,9 @@ describe "IO::Buffer#empty?" do
@buffer.empty?.should be_true
end
- ruby_version_is "3.3" do
- it "is true for a 0-length String-backed buffer created with .string" do
- IO::Buffer.string(0) do |buffer|
- buffer.empty?.should be_true
- end
+ it "is true for a 0-length String-backed buffer created with .string" do
+ IO::Buffer.string(0) do |buffer|
+ buffer.empty?.should be_true
end
end