summaryrefslogtreecommitdiff
path: root/test/ruby/test_io_buffer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_io_buffer.rb')
-rw-r--r--test/ruby/test_io_buffer.rb3
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)