mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00

parameter of IFUNC. [ruby-dev:32329] * enumerator.c: fix to pass exact number of argument. * eval.c (rb_yield_values2): added. * include/ruby/ruby.h: ditto. * bootstraptest/test_knownbug.rb: move a fixed test. * bootstraptest/test_block.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
19 lines
504 B
Ruby
19 lines
504 B
Ruby
#
|
|
# This test file concludes tests which point out known bugs.
|
|
# So all tests will cause failure.
|
|
#
|
|
|
|
$:.unshift File.join(File.dirname(__FILE__), "../.ext/#{RUBY_PLATFORM}")
|
|
assert_normal_exit %q{
|
|
STDERR.reopen(STDOUT)
|
|
require 'yaml'
|
|
YAML.load("2000-01-01 00:00:00.#{"0"*1000} +00:00\n")
|
|
}, '[ruby-core:13735]'
|
|
|
|
assert_equal '..f00000000', %q{
|
|
sprintf("%x", -2**32)
|
|
}, '[ruby-dev:32351]'
|
|
|
|
assert_equal "..101111111111111111111111111111111", %q{
|
|
sprintf("%b", -2147483649)
|
|
}, '[ruby-dev:32365]'
|