about summary refs log tree commit homepage
path: root/test/lib_read_write.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib_read_write.rb')
-rw-r--r--test/lib_read_write.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lib_read_write.rb b/test/lib_read_write.rb
index cac87b7..26e7aef 100644
--- a/test/lib_read_write.rb
+++ b/test/lib_read_write.rb
@@ -292,7 +292,8 @@ module LibReadWriteTest
     assert_equal :wait_writable, tmp.pop
     assert tmp.size > 0
     penultimate = tmp.pop
-    assert(penultimate == "I" || penultimate == nil)
+    assert(penultimate == ["I"] || penultimate == nil,
+           "penultimate is #{penultimate.inspect}")
     assert tmp.size > 0
     tmp.each { |count| assert_equal nil, count }
   end