Commit 902e69de authored by Shinya Maeda's avatar Shinya Maeda

Fix error message

parent b223f7b7
......@@ -70,7 +70,7 @@ module Ci
end
def append(new_data, offset)
raise ArgumentError, 'New data is nil' unless new_data
raise ArgumentError, 'New data is missing' unless new_data
raise ArgumentError, 'Offset is out of range' if offset > size || offset < 0
raise ArgumentError, 'Chunk size overflow' if CHUNK_SIZE < (offset + new_data.bytesize)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment