mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-19 00:15:13 +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
@@ -120,9 +120,9 @@ class TestOCamlLanguageServer:
|
||||
|
||||
# Should find at least 3 references in test_repo.ml: definition + 2 recursive calls
|
||||
# On OCaml 5.2+ with cross-file refs, there may be more total refs but same-file count stays the same
|
||||
assert (
|
||||
len(same_file_refs) >= 3
|
||||
), f"Expected at least 3 references in test_repo.ml (definition + 2 recursive), found {len(same_file_refs)}"
|
||||
assert len(same_file_refs) >= 3, (
|
||||
f"Expected at least 3 references in test_repo.ml (definition + 2 recursive), found {len(same_file_refs)}"
|
||||
)
|
||||
|
||||
# Verify references are on different lines (definition + recursive calls)
|
||||
ref_lines = [ref.get("range", {}).get("start", {}).get("line", -1) for ref in same_file_refs]
|
||||
|
||||
Reference in new issue
Block a user