Closed lundmark closed 5 years ago
Test case:
TEST_F( DLText, accept_trailing_comma_struct) { const char* test_text = "{\n" "\"PodsDefaults\" : {\n" "\"u8\" : 5,\n" "}\n" "}"; unsigned char out_text_data[1024]; EXPECT_DL_ERR_OK( dl_txt_pack( Ctx, test_text, out_text_data, DL_ARRAY_LENGTH(out_text_data), 0x0 ) ); }
Fails. It should work :)
Test case:
Fails. It should work :)