Merge pull request #1216 from Shopify/unsupported-taint-mode

Remove support for taint_mode on ruby versions that don't support it
This commit is contained in:
Dylan Thacker-Smith
2020-01-07 10:12:36 -05:00
committed by GitHub
7 changed files with 60 additions and 42 deletions
+4
View File
@@ -32,6 +32,10 @@ module Minitest
def fixture(name)
File.join(File.expand_path(__dir__), "fixtures", name)
end
def self.taint_supported?
Object.new.taint.tainted?
end
end
module Assertions