summaryrefslogtreecommitdiff
path: root/spec/ruby/library/stringio/shared
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-10-31 17:11:23 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-10-31 17:11:23 +0900
commit5f6fbf8725b6e4bc026480d7b95f7ac21198c591 (patch)
treeffd25c1cb9cb9e4bd75b6a35148bf9804989d835 /spec/ruby/library/stringio/shared
parent473882e01f7e55753733e2607ace633b5041f11f (diff)
spec: Fix syntax errors
Follow up of 473882e01f7e55753733e2607ace633b5041f11f
Diffstat (limited to 'spec/ruby/library/stringio/shared')
-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