@@ -136,7 +136,7 @@ def test_symbols():
136
136
def check_return (result_array ):
137
137
# Expected objects
138
138
objs = (
139
- ["test_free" , 2 , 0 , 79 ],
139
+ ["test_free" , 2 , 0 , 81 ],
140
140
["scale_type" , 5 , 4 , 6 ],
141
141
["val" , 13 , 5 , 5 ],
142
142
["vector" , 5 , 8 , 16 ],
@@ -157,7 +157,7 @@ def check_return(result_array):
157
157
["scaled_vector_norm" , 12 , 55 , 59 ],
158
158
["unscaled_norm" , 12 , 61 , 65 ],
159
159
["test_sig_Sub" , 12 , 67 , 70 ],
160
- ["bound_pass" , 12 , 72 , 78 ],
160
+ ["bound_pass" , 12 , 72 , 80 ],
161
161
)
162
162
assert len (result_array ) == len (objs )
163
163
for i , obj in enumerate (objs ):
@@ -537,7 +537,7 @@ def find_in_results(uri, sline):
537
537
[free_path , 36 , 6 , 12 ],
538
538
[free_path , 44 , 6 , 12 ],
539
539
[free_path , 50 , 6 , 12 ],
540
- [free_path , 76 , 6 , 12 ],
540
+ [free_path , 78 , 6 , 12 ],
541
541
),
542
542
)
543
543
@@ -713,7 +713,7 @@ def hover_request(file_path, line, char):
713
713
string += hover_request (file_path , 22 , 32 )
714
714
string += hover_request (file_path , 15 , 32 )
715
715
string += hover_request (file_path , 15 , 47 )
716
- errcode , results = run_request (string )
716
+ errcode , results = run_request (string , [ "-n" , "1" ] )
717
717
assert errcode == 0
718
718
#
719
719
check_return (results [1 ], ((1 , "!! Doc 1" ), (3 , " !! Doc 5" )))
@@ -724,5 +724,8 @@ def hover_request(file_path, line, char):
724
724
check_return (results [6 ], ((1 , "!! Doc 7" ), (4 , " !! Doc 8" )))
725
725
check_return (results [7 ], ((1 , "!! Doc 3" ),))
726
726
check_return (results [8 ], ())
727
- check_return (results [9 ], ())
728
- check_return (results [10 ], ((3 , " !! Doc 9" ), (4 , " !! Doc 10" )))
727
+ check_return (results [9 ], ((2 , " !! Doc 9" ), (3 , " !! Doc 10" )))
728
+ check_return (
729
+ results [10 ],
730
+ ((2 , " !! Doc 9" ), (3 , " !! Doc 10" ), (5 , " !! Doc 11" ), (6 , " !! Doc 12" )),
731
+ )
0 commit comments