summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-08-26 21:17:11 +0200
committerMax Kellermann <max@musicpd.org>2019-08-26 21:17:26 +0200
commit9617bd6c856e8f61d28a637f416e6bc982d54c7a (patch)
treeaf1b439aadd71329b6c01f5c7fc068125fb6b758 /test
parent4c7154bd23b3838ff6f97111c4215fbe2546722a (diff)
test/run_filter: fix error message
Diffstat (limited to 'test')
-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 5579888cf..98aff564f 100644
--- a/test/run_filter.cxx
+++ b/test/run_filter.cxx
@@ -102,7 +102,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;