Add a 'found' field to pb_extension_t.
Update issue 112 Status: FixedInGit
This commit is contained in:
@@ -49,7 +49,9 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
/* Check that the extensions decoded properly */
|
||||
TEST(ext1.found)
|
||||
TEST(extensionfield1 == 12345)
|
||||
TEST(ext2.found)
|
||||
TEST(strcmp(extensionfield2.test1, "test") == 0)
|
||||
TEST(extensionfield2.test2 == 54321)
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
-dependenttrans
|
||||
-kepttrans
|
||||
-branchstate
|
||||
-immediatetrans
|
||||
|
||||
# These tests give false positives, compiler typically has
|
||||
# better warnings for these.
|
||||
|
||||
Reference in New Issue
Block a user