aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile2
-rw-r--r--tests/person_with_extra_field.pbbin90 -> 90 bytes
-rw-r--r--tests/person_with_extra_field.txt3
3 files changed, 1 insertions, 4 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 73efbe6..7656175 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -71,7 +71,7 @@ run_unittests: decode_unittests encode_unittests test_cxxcompile test_encode1 te
"`./test_encode2 | protoc --decode=Person -I. -I../generator -I/usr/include person.proto`" ]
[ "`./test_decode2 < person_with_extra_field.pb`" = \
- "`cat person_with_extra_field.txt`" ]
+ "`./test_encode2 | ./test_decode2`" ]
[ "`./test_encode_callbacks | ./test_decode_callbacks`" = \
"`./test_encode_callbacks | protoc --decode=TestMessage callbacks.proto`" ]
diff --git a/tests/person_with_extra_field.pb b/tests/person_with_extra_field.pb
index 00d153c..ced3057 100644
--- a/tests/person_with_extra_field.pb
+++ b/tests/person_with_extra_field.pb
Binary files differ
diff --git a/tests/person_with_extra_field.txt b/tests/person_with_extra_field.txt
deleted file mode 100644
index fae9f87..0000000
--- a/tests/person_with_extra_field.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-name: "Test Person 99"
-id: 99
-email: "test@person.com"