diff options
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_knownbug.rb | 17 | ||||
-rw-r--r-- | bootstraptest/test_method.rb | 5 |
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 +} |