mirror of
https://github.com/github/codeql.git
synced 2026-05-03 20:58:03 +02:00
Swift: sort import list
Also fix parent tests with updated `statements.swift` file.
This commit is contained in:
@@ -264,8 +264,8 @@ def test_class_dir_imports(opts, input, renderer):
|
||||
schema.Class("B", bases={"A"}),
|
||||
]
|
||||
assert generate_import_list(opts, renderer) == ql.ImportList([
|
||||
stub_import_prefix + "another.rel.path.A",
|
||||
stub_import_prefix + "B",
|
||||
stub_import_prefix + "another.rel.path.A",
|
||||
])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user