summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-08 16:55:30 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-08 16:55:30 +0000
commit9c197735be45e94090650e1c19aa77f95c43a0e3 (patch)
tree12204830a8a3d606b5ef8b1e0ee566d2cf067610 /test
parent7c3869368c52ea597ebe11c170f886302ddef75f (diff)
* eval.c (method_inspect, method_name, mnew): Bug fix when
method created from an alias. Based on a patch by Peter Vanbroekhoven [ruby-core:22040] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/runner.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/runner.rb b/test/runner.rb
index d274bc8929..767947b7f2 100644
--- a/test/runner.rb
+++ b/test/runner.rb
@@ -1,7 +1,7 @@
require 'test/unit'
rcsid = %w$Id$
-Version = rcsid[2].scan(/\d+/).collect!(&method(:Integer)).freeze
-Release = rcsid[3].freeze
+Version = rcsid[2].scan(/\d+/).collect!(&method(:Integer)).freeze rescue nil
+Release = rcsid[3].freeze rescue nil
exit Test::Unit::AutoRunner.run(true, File.dirname($0))