aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/stringio/shared/write.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/stringio/shared/write.rb')
-rw-r--r--spec/ruby/library/stringio/shared/write.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/stringio/shared/write.rb b/spec/ruby/library/stringio/shared/write.rb
index 12c58d10da..28683e3cb1 100644
--- a/spec/ruby/library/stringio/shared/write.rb
+++ b/spec/ruby/library/stringio/shared/write.rb
@@ -45,7 +45,7 @@ describe :stringio_write_string, shared: true do
@io.pos.should eql(4)
end
- ruby_version_is ""..."2.7"
+ ruby_version_is ""..."2.7" do
it "taints self's String when the passed argument is tainted" do
@io.send(@method, "test".taint)
@io.string.tainted?.should be_true