mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Taint flags has been deprecated in 3.1
This commit is contained in:
parent
a67afaaa05
commit
b409a34b41
4 changed files with 17 additions and 2 deletions
|
@ -2,7 +2,7 @@ describe :rbasic, shared: true do
|
|||
|
||||
before :all do
|
||||
specs = CApiRBasicSpecs.new
|
||||
@taint = specs.taint_flag
|
||||
@taint = ruby_version_is(''...'3.1') ? specs.taint_flag : 0
|
||||
@freeze = specs.freeze_flag
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue