diff options
| author | Étienne Barrié <etienne.barrie@gmail.com> | 2025-12-08 22:58:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-09 10:58:35 +1300 |
| commit | 66bda731901d4588c9df1a671022231ea0d03216 (patch) | |
| tree | 61b2c4702f8ccd3f6402eb0331d658caf189f3da /test/ruby | |
| parent | 90a9b64238eca659df9d59d35f6cf59fa3851119 (diff) | |
Remove unused local variables in test/ruby/test_io_buffer.rb (#15451)
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_io_buffer.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/ruby/test_io_buffer.rb b/test/ruby/test_io_buffer.rb index 9ff22b4bb3..cc79988423 100644 --- a/test/ruby/test_io_buffer.rb +++ b/test/ruby/test_io_buffer.rb @@ -852,9 +852,6 @@ class TestIOBuffer < Test::Unit::TestCase assert_equal value, result_be, "#{be_type}: round-trip failed" # Verify byte patterns are different when endianness differs from host - le_bytes = buffer.get_string(0, buffer_size) - be_bytes = buffer.get_string(buffer_size, buffer_size) - if host_is_le # On little-endian host: le_type should match host, be_type should be swapped # So the byte patterns should be different (unless value is symmetric) |
