summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-08-26 21:17:11 +0200
committerMax Kellermann <max@musicpd.org>2020-09-07 20:07:29 +0200
commitfd4823c507ef8d9c93456cb0029f22b48a3c816d (patch)
treef6e4ed8a439f697ea6f6174a80f5cfe39b0bd923
parent68bcfd8bf0cedbb0e6d6b3d5b02018b4e407a1f7 (diff)
test/run_filter: fix error message
-rw-r--r--test/run_filter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_filter.cxx b/test/run_filter.cxx
index 5a0155802..6d8a270f0 100644
--- a/test/run_filter.cxx
+++ b/test/run_filter.cxx
@@ -103,7 +103,7 @@ FullWrite(FileDescriptor fd, const void *_buffer, size_t size)
while (size > 0) {
size_t nbytes = WriteOrThrow(fd, buffer, size);
if (nbytes == 0)
- throw std::runtime_error("Premature end of input");
+ throw std::runtime_error("Write failed");
buffer += nbytes;
size -= nbytes;