diff options
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_string.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb index c3fd2b7d94..1f21619798 100644 --- a/test/ruby/test_string.rb +++ b/test/ruby/test_string.rb @@ -2750,6 +2750,8 @@ CODE assert_not_equal(str.object_id, (+str).object_id) assert_equal(str.object_id, (-str).object_id) bar = %w(b a r).join('') + assert_not_predicate bar, :tainted? + assert_not_predicate str, :tainted? assert_same(str, -bar, "uminus deduplicates [Feature #13077]") end |