mirror of
https://github.com/google/pebble.git
synced 2026-02-17 18:56:50 -05:00
Import of the watch repository from Pebble
This commit is contained in:
8
third_party/nanopb/tests/regression/issue_558/SConscript
vendored
Normal file
8
third_party/nanopb/tests/regression/issue_558/SConscript
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# Regression test for #558:
|
||||
# Manually defining proto3:true on a field with default value incorrectly omits it when encoding.
|
||||
|
||||
Import("env")
|
||||
env.NanopbProto("mixed")
|
||||
|
||||
test = env.Program(["mixed.c", "mixed.pb.c", "$COMMON/pb_encode.o", "$COMMON/pb_decode.o", "$COMMON/pb_common.o"])
|
||||
env.RunTest(test)
|
||||
Reference in New Issue
Block a user