mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
2.8 -> 3.0 in specs
This commit is contained in:
parent
9b535f3ff7
commit
1af0319fc8
147 changed files with 199 additions and 201 deletions
|
@ -23,7 +23,7 @@ describe "StringIO#reopen when passed [Object, Integer]" do
|
|||
@io.string.should == "reopened, another time"
|
||||
end
|
||||
|
||||
ruby_version_is ""..."2.8" do
|
||||
ruby_version_is ""..."3.0" do
|
||||
# NOTE: WEIRD!
|
||||
it "does not taint self when the passed Object was tainted" do
|
||||
@io.reopen("reopened".taint, IO::RDONLY)
|
||||
|
@ -92,7 +92,7 @@ describe "StringIO#reopen when passed [Object, Object]" do
|
|||
str.should == ""
|
||||
end
|
||||
|
||||
ruby_version_is ""..."2.8" do
|
||||
ruby_version_is ""..."3.0" do
|
||||
# NOTE: WEIRD!
|
||||
it "does not taint self when the passed Object was tainted" do
|
||||
@io.reopen("reopened".taint, "r")
|
||||
|
@ -164,7 +164,7 @@ describe "StringIO#reopen when passed [String]" do
|
|||
@io.string.should == "reopened"
|
||||
end
|
||||
|
||||
ruby_version_is ""..."2.8" do
|
||||
ruby_version_is ""..."3.0" do
|
||||
# NOTE: WEIRD!
|
||||
it "does not taint self when the passed Object was tainted" do
|
||||
@io.reopen("reopened".taint)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue