Merge branch 'master' into fix-ts-relative-import-paths

This commit is contained in:
Björn Harrtell
2026-02-04 16:21:08 +01:00
committed by GitHub
5 changed files with 63 additions and 1 deletions

View File

@@ -71,3 +71,12 @@ class SchemaTests:
schema_json["enums"][0]["values"][2]["attributes"][1]["value"]
== "Value 3 (deprecated)"
)
def CircularStructDependency(self):
try:
flatc(["-c", "circular_struct_dependency.fbs"])
assert False, "Expected flatc to fail on circular struct dependency"
except subprocess.CalledProcessError:
pass
flatc(["-c", "circular_table.fbs"])