summaryrefslogtreecommitdiffstats
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
commit42ecc77c464cd30ba4da9240f8d251979d12f433 (patch)
treeda3b9d5604b7e332d6d204b57120020ef3520192 /bootstraptest
parentb9e90701385c7a933843bfea97397c99b1a34600 (diff)
downloadruby-42ecc77c464cd30ba4da9240f8d251979d12f433.tar.gz
ruby-42ecc77c464cd30ba4da9240f8d251979d12f433.tar.xz
ruby-42ecc77c464cd30ba4da9240f8d251979d12f433.zip
* 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: http://svn.ruby-lang.org/repos/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 398539df1..0cf5cf271 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 7c2d6652a..89488a40b 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
+}