Augustin Gottlieb 2026-04-18 11:17:31 +0000 (Sat, 18 Apr 2026)
New Revision: 7ecca26f8f
https://github.com/ruby/ruby/commit/7ecca26f8f
Log:
[Tests] Add test cases for String#getbyte and String#setbyte
Cover behavior documented in rdoc but not asserted in test/ruby/test_string.rb:
* getbyte: negative index, out-of-range (positive and negative), empty string.
* setbyte: return value, negative index, out-of-range (positive and negative),
frozen string raises FrozenError.
Modified files:
test/ruby/test_string.rb