1
0
Fork 0
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:
Nobuyoshi Nakada 2021-01-27 14:45:31 +09:00
parent a67afaaa05
commit b409a34b41
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
4 changed files with 17 additions and 2 deletions

View file

@ -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