From 6dfc142888410ef6906970d8cb90f69c0992852a Mon Sep 17 00:00:00 2001 From: rsgowman Date: Tue, 24 Apr 2018 11:31:58 -0400 Subject: Adjust serializer test to verify via libprotobuf. (#1039) Previously, the tests would compare serialization results against a precomputed (via protoc) array of bytes. Now they serialize via our nanopb based class and deserialize via libprotobuf (and vice versa) and then ensure the result is the same as the input --- scripts/check_whitespace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/check_whitespace.sh b/scripts/check_whitespace.sh index a38d4ce..b549ea1 100755 --- a/scripts/check_whitespace.sh +++ b/scripts/check_whitespace.sh @@ -25,7 +25,7 @@ options=( ) git grep "${options[@]}" \ - -- ':(exclude)Firestore/Protos/nanopb' + -- ':(exclude)Firestore/Protos/nanopb' ':(exclude)Firestore/Protos/cpp' if [[ $? == 0 ]]; then echo "ERROR: Trailing whitespace found in the files above. Please fix." exit 1 -- cgit v1.2.3