mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-04 12:43:24 +00:00
Fix conform (#7532)
* Fix conform; Make sure the command fails when tail fields are removed; * Fix last commit according to dbaileychess' comment
This commit is contained in:
@@ -98,6 +98,8 @@ void ConformTest() {
|
||||
test_conform(parser, "table T { B:float; }",
|
||||
"field renamed to different type");
|
||||
test_conform(parser, "enum E:byte { B, A }", "values differ for enum");
|
||||
test_conform(parser, "table T { }", "field deleted");
|
||||
test_conform(parser, "table T { B:int; }", ""); //renaming a field is allowed
|
||||
}
|
||||
|
||||
void UnionDeprecationTest(const std::string& tests_data_path) {
|
||||
|
||||
Reference in New Issue
Block a user