summaryrefslogtreecommitdiffstats
path: root/tests/test_decode2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_decode2.c')
-rw-r--r--tests/test_decode2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_decode2.c b/tests/test_decode2.c
index d38e6256..762b2b3f 100644
--- a/tests/test_decode2.c
+++ b/tests/test_decode2.c
@@ -82,7 +82,7 @@ int main()
pb_istream_t stream = {&callback, stdin, 10000};
if (!print_person(&stream))
{
- printf("Parsing failed.\n");
+ printf("Parsing failed: %s\n", PB_GET_ERROR(&stream));
return 1;
} else {
return 0;