mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-12 20:15:56 +00:00
Reformat (minor, after replacing black with ruff)
Black dependency created a dependabot warning and couldn't be bumped since it collided with pathspec dependencies. Since ruff can also format, black is not needed. But we now have these small format changes, mostly in test files
This commit is contained in:
1 parent
45cd8ca12e
commit
0bbd9e375e
48 files changed
+278
-282
No files matched your search
@@ -225,9 +225,9 @@ class TestPhpLanguageServers:
|
||||
assert dog_symbol is not None, "Dog class not found in root symbols"
|
||||
dog_children = dog_symbol.get("children", [])
|
||||
dog_child_names = [c.get("name") for c in dog_children]
|
||||
assert (
|
||||
len(dog_child_names) > 0
|
||||
), f"Dog class has no children — hierarchicalDocumentSymbolSupport is not working. All root symbols: {root_names}"
|
||||
assert len(dog_child_names) > 0, (
|
||||
f"Dog class has no children — hierarchicalDocumentSymbolSupport is not working. All root symbols: {root_names}"
|
||||
)
|
||||
expected_methods = {"greet", "fetch", "getBreed", "describe"}
|
||||
missing = expected_methods - set(dog_child_names)
|
||||
assert not missing, f"Dog class missing expected methods: {missing}. Children found: {dog_child_names}"
|
||||
|
||||
Reference in new issue
Block a user