summaryrefslogtreecommitdiff
path: root/test/ruby/test_array.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-07-28 00:06:44 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2025-07-28 00:06:44 +0900
commita9eed306aad6b3733ce6a7b880cd10d12acb8b4b (patch)
tree5522189c96e77f44c64d73711bd8355c82d6ed50 /test/ruby/test_array.rb
parentec01cd9bbbaf3e6f324e0a6769b8383857d2bc07 (diff)
Update comments for pack/unpack tests [ci skip]
More comprehensive pack/unpack tests are in test_pack.rb.
Diffstat (limited to 'test/ruby/test_array.rb')
-rw-r--r--test/ruby/test_array.rb27
1 files changed, 1 insertions, 26 deletions
diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb
index 19f79d236d..a3ac0a6a0b 100644
--- a/test/ruby/test_array.rb
+++ b/test/ruby/test_array.rb
@@ -1309,32 +1309,7 @@ class TestArray < Test::Unit::TestCase
assert_equal(ary.join(':'), ary2.join(':'))
assert_not_nil(x =~ /def/)
-=begin
- skipping "Not tested:
- D,d & double-precision float, native format\\
- E & double-precision float, little-endian byte order\\
- e & single-precision float, little-endian byte order\\
- F,f & single-precision float, native format\\
- G & double-precision float, network (big-endian) byte order\\
- g & single-precision float, network (big-endian) byte order\\
- I & unsigned integer\\
- i & integer\\
- L & unsigned long\\
- l & long\\
-
- N & long, network (big-endian) byte order\\
- n & short, network (big-endian) byte-order\\
- P & pointer to a structure (fixed-length string)\\
- p & pointer to a null-terminated string\\
- S & unsigned short\\
- s & short\\
- V & long, little-endian byte order\\
- v & short, little-endian byte order\\
- X & back up a byte\\
- x & null byte\\
- Z & ASCII string (null padded, count is width)\\
-"
-=end
+ # more comprehensive tests are in test_pack.rb
end
def test_pack_with_buffer