aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@npb.mail.kapsi.fi>2011-08-24 12:13:24 +0000
committerPetteri Aimonen <jpa@npb.mail.kapsi.fi>2011-08-24 12:13:24 +0000
commit9cb63dd2667360e165739ab06a1aeb68d4007a24 (patch)
tree73c7d2d52c5bcb43697dc3e7c3cc23336a7f57f4 /tests
parenta3534170212675e0c7d3d89e23838e25f3664316 (diff)
wrong file name
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@967 e3a754e5-d11d-0410-8d38-ebb782a927b9
Diffstat (limited to 'tests')
-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 b8664d9..926a254 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 b7698ef..def45a6 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 ac13df3..412a271 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)
{