mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
Codegen: fix test.qlgen failure
This commit is contained in:
@@ -885,7 +885,7 @@ def test_synth_property(generate_classes):
|
||||
schema.Class("MyObject", properties=[
|
||||
schema.SingleProperty("foo", "bar", synth=True)]),
|
||||
]) == {
|
||||
"MyObject.qll": (a_ql_stub(name="MyObject", base_import=gen_import_prefix + "MyObject"),
|
||||
"MyObject.qll": (a_ql_stub(name="MyObject"),
|
||||
a_ql_class(name="MyObject", final=True,
|
||||
properties=[
|
||||
ql.Property(singular="Foo", type="bar", tablename="my_objects", synth=True,
|
||||
|
||||
Reference in New Issue
Block a user