Revision: 3480 http://trac.macosforge.org/projects/ruby/changeset/3480 Author: pthomson@apple.com Date: 2010-02-10 15:47:12 -0800 (Wed, 10 Feb 2010) Log Message: ----------- moving more working tests Modified Paths: -------------- MacRuby/trunk/test_vm/dispatch.rb MacRuby/trunk/test_vm/known_bugs.rb Modified: MacRuby/trunk/test_vm/dispatch.rb =================================================================== --- MacRuby/trunk/test_vm/dispatch.rb 2010-02-10 23:35:44 UTC (rev 3479) +++ MacRuby/trunk/test_vm/dispatch.rb 2010-02-10 23:47:12 UTC (rev 3480) @@ -482,3 +482,17 @@ p :ok end } + +assert "true", %{ + class Foo + def respond_to?(*x); super; end + end + p Foo.new.respond_to?(:object_id) +} + +# TODO: find a better place for this. +assert '', %{ + $SAFE=4 + s="omg" + s.freeze +} \ No newline at end of file Modified: MacRuby/trunk/test_vm/known_bugs.rb =================================================================== --- MacRuby/trunk/test_vm/known_bugs.rb 2010-02-10 23:35:44 UTC (rev 3479) +++ MacRuby/trunk/test_vm/known_bugs.rb 2010-02-10 23:47:12 UTC (rev 3480) @@ -22,15 +22,3 @@ p Module.new.foo } -assert "true", %{ - class Foo - def respond_to?(*x); super; end - end - p Foo.new.respond_to?(:object_id) -} - -assert '', %{ - $SAFE=4 - s="omg" - s.freeze -}
participants (1)
-
source_changes@macosforge.org