Add a 'found' field to pb_extension_t.

Update issue 112
Status: FixedInGit
This commit is contained in:
Petteri Aimonen
2014-04-05 11:11:05 +03:00
parent 70dee34da6
commit e5b855fec5
4 changed files with 8 additions and 2 deletions

View File

@@ -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)