aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar rsgowman <rgowman@google.com>2018-04-24 11:31:58 -0400
committerGravatar GitHub <noreply@github.com>2018-04-24 11:31:58 -0400
commit6dfc142888410ef6906970d8cb90f69c0992852a (patch)
tree72b1287cc6143f1d005d03cb710c60a9f3414fd8 /scripts
parenta04e782db87b86bacc6a232fae38dcd8d203f5b6 (diff)
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
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check_whitespace.sh2
1 files changed, 1 insertions, 1 deletions
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