зеркало из https://github.com/github/ruby.git
* bootstraptest/test_eval.rb, test_knownbug.rb: move a fixed test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
059fe7997e
Коммит
1421b85ea2
|
@ -1,3 +1,7 @@
|
|||
Thu Jan 3 19:45:57 2008 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* bootstraptest/test_eval.rb, test_knownbug.rb: move a fixed test.
|
||||
|
||||
Thu Jan 3 18:39:12 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* encoding.c: (rb_tolower, rb_toupper): body was exchanged.
|
||||
|
|
|
@ -198,3 +198,13 @@ assert_equal %q{[10, main]}, %q{
|
|||
end
|
||||
}, '[ruby-dev:31372]'
|
||||
end
|
||||
|
||||
assert_normal_exit %q{
|
||||
STDERR.reopen(STDOUT)
|
||||
class Foo
|
||||
def self.add_method
|
||||
class_eval("def some-bad-name; puts 'hello' unless @some_variable.some_function(''); end")
|
||||
end
|
||||
end
|
||||
Foo.add_method
|
||||
}, '[ruby-core:14556] reported by Frederick Cheung'
|
||||
|
|
|
@ -3,13 +3,4 @@
|
|||
# So all tests will cause failure.
|
||||
#
|
||||
|
||||
assert_normal_exit %q{
|
||||
STDERR.reopen(STDOUT)
|
||||
class Foo
|
||||
def self.add_method
|
||||
class_eval("def some-bad-name; puts 'hello' unless @some_variable.some_function(''); end")
|
||||
end
|
||||
end
|
||||
Foo.add_method
|
||||
}, '[ruby-core:14556] reported by Frederick Cheung'
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче