Skip to content

Commit 6336e5c

Browse files
committed
chore: fix typings
1 parent e03d608 commit 6336e5c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test_server_hover.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
from setup_tests import run_request, test_dir, write_rpc_request
1+
from setup_tests import run_request, test_dir, write_rpc_request, Path
22

33

4-
def hover_req(file_path: str, ln: int, col: int) -> str:
4+
def hover_req(file_path: Path, ln: int, col: int) -> str:
55
return write_rpc_request(
66
1,
77
"textDocument/hover",
@@ -336,7 +336,7 @@ def test_hover_interface_as_argument():
336336
string += hover_req(file_path, 19, 14)
337337
errcode, results = run_request(string, fortls_args=["--sort_keywords", "-n1"])
338338
assert errcode == 0
339-
ref_results = (
339+
ref_results = [
340340
# Could be subject to change
341341
"""```fortran90
342342
FUNCTION foo2(f, g, h) RESULT(arg3)
@@ -345,7 +345,7 @@ def test_hover_interface_as_argument():
345345
FUNCTION h(x)
346346
REAL :: arg3
347347
```""",
348-
)
348+
]
349349
validate_hover(results, ref_results)
350350

351351

0 commit comments

Comments
 (0)