summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/Makefile1
-rw-r--r--tests/alltypes_with_extra_fields.pbbin0 -> 523 bytes
2 files changed, 1 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 40fcabe0..16f62e5c 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -123,6 +123,7 @@ run_unittests: $(TESTS)
./test_encode3 1 | ./test_decode3 1
./test_encode3 1 | protoc --decode=AllTypes -I. -I../generator -I/usr/include alltypes.proto >/dev/null
./test_encode3_buf 1 | ./test_decode3_buf 1
+ ./test_decode3 < alltypes_with_extra_fields.pb
./bc_encode | ./bc_decode
./test_missing_fields
diff --git a/tests/alltypes_with_extra_fields.pb b/tests/alltypes_with_extra_fields.pb
new file mode 100644
index 00000000..f9f53941
--- /dev/null
+++ b/tests/alltypes_with_extra_fields.pb
Binary files differ