diff options
Diffstat (limited to 'test/ruby/test_proc.rb')
-rw-r--r-- | test/ruby/test_proc.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_proc.rb b/test/ruby/test_proc.rb index 1bc360c9e8..aca1903df8 100644 --- a/test/ruby/test_proc.rb +++ b/test/ruby/test_proc.rb @@ -1112,7 +1112,7 @@ class TestProc < Test::Unit::TestCase assert_match(/^#<Proc:0x\h+ \(lambda\)>$/, method(:p).to_proc.to_s) x = proc {} x.taint - assert(x.to_s.tainted?) + assert_predicate(x.to_s, :tainted?) end @@line_of_source_location_test = __LINE__ + 1 |