summaryrefslogtreecommitdiffstats
path: root/tests/test_encode3.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_encode3.c')
-rw-r--r--tests/test_encode3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_encode3.c b/tests/test_encode3.c
index 4f6859ac..982ad3c8 100644
--- a/tests/test_encode3.c
+++ b/tests/test_encode3.c
@@ -124,7 +124,7 @@ int main(int argc, char **argv)
}
else
{
- fprintf(stderr, "Encoding failed!\n");
+ fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream));
return 1; /* Failure */
}
}