[前][次][番号順一覧][スレッド一覧]

ruby-changes:40800

From: nobu <ko1@a...>
Date: Fri, 4 Dec 2015 14:42:21 +0900 (JST)
Subject: [ruby-changes:40800] nobu:r52879 (trunk): KNOWNBUGS.rb: assertion failure

nobu	2015-12-04 14:42:12 +0900 (Fri, 04 Dec 2015)

  New Revision: 52879

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52879

  Log:
    KNOWNBUGS.rb: assertion failure
    
    * KNOWNBUGS.rb: add test for r52872, assertion failure.

  Modified files:
    trunk/KNOWNBUGS.rb
Index: KNOWNBUGS.rb
===================================================================
--- KNOWNBUGS.rb	(revision 52878)
+++ KNOWNBUGS.rb	(revision 52879)
@@ -3,3 +3,12 @@ https://github.com/ruby/ruby/blob/trunk/KNOWNBUGS.rb#L3
 # So all tests will cause failure.
 #
 
+assert_equal 'false', %q{
+  x = Object.new.taint
+  class << x
+    def to_s; "foo".freeze; end
+  end
+  x.taint
+  [x].join("")
+  eval '"foo".freeze.tainted?'
+}

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]