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

ruby-changes:5524

From: ko1 <ko1@a...>
Date: Mon, 9 Jun 2008 03:13:21 +0900 (JST)
Subject: [ruby-changes:5524] Ruby:r17027 (trunk): * bootstraptest/pending.rb: move/remove solved issues.

ko1	2008-06-09 03:13:09 +0900 (Mon, 09 Jun 2008)

  New Revision: 17027

  Modified files:
    trunk/ChangeLog
    trunk/bootstraptest/pending.rb
    trunk/bootstraptest/test_class.rb

  Log:
    * bootstraptest/pending.rb: move/remove solved issues.
    * bootstraptest/test_class.rb: ditto.
    


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=17027&r2=17026&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/test_class.rb?r1=17027&r2=17026&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/pending.rb?r1=17027&r2=17026&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 17026)
+++ ChangeLog	(revision 17027)
@@ -1,3 +1,9 @@
+Mon Jun  9 03:12:23 2008  Koichi Sasada  <ko1@a...>
+
+	* bootstraptest/pending.rb: move/remove solved issues.
+
+	* bootstraptest/test_class.rb: ditto.
+
 Mon Jun  9 02:32:58 2008  Akinori MUSHA  <knu@i...>
 
 	* ext/zlib/zlib.c (rb_deflate_init_copy): Copy buffers as well.
Index: bootstraptest/pending.rb
===================================================================
--- bootstraptest/pending.rb	(revision 17026)
+++ bootstraptest/pending.rb	(revision 17027)
@@ -1,25 +0,0 @@
-assert_equal 'ok', %q{
-  1.times{
-    eval("break")
-  }
-  :ok
-}, '[ruby-dev:32525]'
-
-assert_equal "ok", %q{
-  module Foo
-  end
-
-  begin
-    def foo(&b)
-      Foo.module_eval &b
-    end
-    foo{
-      def bar
-      end
-    }
-    bar
-  rescue NoMethodError
-    :ok
-  end
-}, '[ruby-core:14378]'
-
Index: bootstraptest/test_class.rb
===================================================================
--- bootstraptest/test_class.rb	(revision 17026)
+++ bootstraptest/test_class.rb	(revision 17027)
@@ -112,106 +112,21 @@
 assert_equal 'Class',   %q( class C; end;  C.dup.class )
 assert_equal 'Module',  %q( module M; end;  M.dup.class )
 
-__END__
 
-  def test_singletonclass
-    ae %q{
-      obj = ''
-      class << obj
-        def m
-          :OK
-        end
-      end
-      obj.m
-    }
-    ae %q{
-      obj = ''
-      Const = :NG
-      class << obj
-        Const = :OK
-        def m
-          Const
-        end
-      end
-      obj.m
-    }
-    ae %q{
-      obj = ''
-      class C
-        def m
-          :NG
-        end
-      end
-      class << obj
-        class C
-          def m
-            :OK
-          end
-        end
-        def m
-          C.new.m
-        end
-      end
-      obj.m
-    }
-    ae %q{ # [yarv-dev:818]
-      class A
-      end
-      class << A
-        C = "OK"
-        def m
-          class << Object
-            $a = C
-          end
-        end
-      end
-      A.m
-      $a
-    }
+assert_equal "ok", %q{
+  module Foo
   end
 
-  def test_initialize
-      class C
-        def initialize
-          @a = :C
-        end
-        def a
-          @a
-        end
+  begin
+    def foo(&b)
+      Foo.module_eval &b
+    end
+    foo{
+      def bar
       end
-      C.new.a
+    }
+    bar()
+  rescue NameError
+    :ok
   end
-
-  def test_attr
-      class C
-        def set
-          @a = 1
-        end
-        def get
-          @a
-        end
-      end
-      c = C.new
-      c.set
-      c.get
-  end
-
-  def test_attr_accessor
-      class C
-        attr_accessor :a
-        attr_reader   :b
-        attr_writer   :c
-        def b_write
-          @b = 'huga'
-        end
-        def m a
-          'test_attr_accessor' + @b + @c
-        end
-      end
-
-      c = C.new
-      c.a = true
-      c.c = 'hoge'
-      c.b_write
-      c.m(c.b)
-  end
+}, '[ruby-core:14378]'

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

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