summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/encode_unittests.c2
-rw-r--r--tests/test_decode1.c2
-rw-r--r--tests/test_encode1.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/encode_unittests.c b/tests/encode_unittests.c
index b8664d9c..926a2545 100644
--- a/tests/encode_unittests.c
+++ b/tests/encode_unittests.c
@@ -262,7 +262,7 @@ int main()
TEST(WRITES(pb_encode(&s, CallbackContainerContainer_fields, &msg2),
"\x0A\x04\x0A\x02\x08\x55"))
- /* Misbehaving callback */
+ /* Misbehaving callback: varying output between calls */
msg.submsg.data.funcs.encode = &crazyfieldcallback;
msg.submsg.data.arg = &state;
msg2.submsg.submsg.data.funcs.encode = &crazyfieldcallback;
diff --git a/tests/test_decode1.c b/tests/test_decode1.c
index b7698efc..def45a67 100644
--- a/tests/test_decode1.c
+++ b/tests/test_decode1.c
@@ -1,6 +1,6 @@
#include <stdio.h>
#include <pb_decode.h>
-#include "person.h"
+#include "person.pb.h"
bool print_person(pb_istream_t *stream)
{
diff --git a/tests/test_encode1.c b/tests/test_encode1.c
index ac13df35..412a271e 100644
--- a/tests/test_encode1.c
+++ b/tests/test_encode1.c
@@ -1,6 +1,6 @@
#include <stdio.h>
#include <pb_encode.h>
-#include "person.h"
+#include "person.pb.h"
bool streamcallback(pb_ostream_t *stream, const uint8_t *buf, size_t count)
{