summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/shared/difference.rb
diff options
context:
space:
mode:
authorNARUSE, Yui <nurse@users.noreply.github.com>2024-02-04 22:54:36 +0900
committerGitHub <noreply@github.com>2024-02-04 13:54:36 +0000
commitd7dc57a545d75c01313a9020b162ebb648a3ea18 (patch)
treea2643d1691ca967289a76d836e2e76fdd8c0295a /spec/ruby/core/array/shared/difference.rb
parenta065b68bd8d93505304f90bbb1855c864e17ad61 (diff)
merge revision(s) c5cf4d4e129f64cb69aaf0a829aed068ef1943c4: [Backport#19542] (#9829)
merge revision(s) c5cf4d4e129f64cb69aaf0a829aed068ef1943c4: [Backport #19542] Improve behavioural consistency of unallocated (zero length) `IO::Buffer`. (#9532) This makes the behaviour of IO::Buffer.new(0) and IO::Buffer.new.slice(0, 0) consistent. Fixes https://bugs.ruby-lang.org/issues/19542 and https://bugs.ruby-lang.org/issues/18805. --- io_buffer.c | 14 ++++++-------- test/ruby/test_io_buffer.rb | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 8 deletions(-)
Diffstat (limited to 'spec/ruby/core/array/shared/difference.rb')
0 files changed, 0 insertions, 0 deletions