summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-27 01:47:34 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-27 01:47:34 +0000
commit9c7aab17a54996b7320e7bc34230a1aab7f7a115 (patch)
treeda3b9d5604b7e332d6d204b57120020ef3520192 /bootstraptest
parent329484693ae6d9dab6e01675faf7b535c2783a83 (diff)
* eval.c (rb_method_missing): fix stack trace.
* bootstraptest/test_knownbug.rb: move solved tests. * bootstraptest/test_method.rb, test/ruby/test_regexp.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_knownbug.rb17
-rw-r--r--bootstraptest/test_method.rb5
2 files changed, 5 insertions, 17 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index 398539df14..0cf5cf271b 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -3,23 +3,6 @@
# So all tests will cause failure.
#
-assert_not_match /method_missing/, %q{
- STDERR.reopen(STDOUT)
- variable_or_mehtod_not_exist
-}
-
-assert_equal 'ok', %q{
- begin
- Regexp.union(
- "a",
- Regexp.new("\x80".force_encoding("euc-jp")),
- Regexp.new("\x80".force_encoding("utf-8")))
- :ng
- rescue ArgumentError
- :ok
- end
-}
-
assert_normal_exit %q{
STDERR.reopen(STDOUT)
require 'yaml'
diff --git a/bootstraptest/test_method.rb b/bootstraptest/test_method.rb
index 7c2d6652a1..89488a40bc 100644
--- a/bootstraptest/test_method.rb
+++ b/bootstraptest/test_method.rb
@@ -1021,3 +1021,8 @@ assert_equal 'ok', %q{
:ok
end
}
+
+assert_not_match /method_missing/, %q{
+ STDERR.reopen(STDOUT)
+ variable_or_mehtod_not_exist
+}