mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-19 20:15:36 +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
@@ -28,6 +28,6 @@ class TestTypescriptLanguageServer:
|
||||
assert helper_symbol is not None, "Could not find 'helperFunction' symbol in index.ts"
|
||||
sel_start = helper_symbol["selectionRange"]["start"]
|
||||
refs = language_server.request_references(file_path, sel_start["line"], sel_start["character"])
|
||||
assert any(
|
||||
"index.ts" in ref.get("relativePath", "") for ref in refs
|
||||
), "index.ts should reference helperFunction (tried all positions in selectionRange)"
|
||||
assert any("index.ts" in ref.get("relativePath", "") for ref in refs), (
|
||||
"index.ts should reference helperFunction (tried all positions in selectionRange)"
|
||||
)
|
||||
Reference in new issue
Block a user