Skip to content

Commit 14291c8

Browse files
committed
Update formatting of generated shared tests
1 parent 354af3b commit 14291c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/generate_rules/generate_package_files.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ def write_shared_implementation(package_name, rule_id, query, language_name, ql_
182182
+ "\n"
183183
)
184184
f.write("\n");
185-
f.write("class TestFileQuery extends " + str(query["shared_implementation_short_name"]) + "SharedQuery, TestQuery { }")
185+
f.write("class TestFileQuery extends " + str(query["shared_implementation_short_name"]) + "SharedQuery, TestQuery {\n")
186+
f.write("}\n")
186187

187188
# Create an empty test file, if one doesn't already exist
188189
shared_impl_test_dir.joinpath(

0 commit comments

Comments
 (0)