Skip to content

Commit d601703

Browse files
Fix test
1 parent 06bc973 commit d601703

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EditorFeatures/TestUtilities2/Intellisense/TestState.vb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,13 @@ Namespace Microsoft.CodeAnalysis.Editor.UnitTests.IntelliSense
174174

175175
Public Overloads Sub SendDownKey()
176176
MyBase.SendDownKey(
177-
Sub(a, n, c) EditorCompletionCommandHandler.ExecuteCommand(a, Sub() Return, c),
177+
Sub(a, n, c) EditorCompletionCommandHandler.ExecuteCommand(a, Sub() EditorOperations.MoveLineDown(extendSelection:=False), c),
178178
Sub() EditorOperations.MoveLineDown(extendSelection:=False))
179179
End Sub
180180

181181
Public Overloads Sub SendUpKey()
182182
MyBase.SendUpKey(
183-
Sub(a, n, c) EditorCompletionCommandHandler.ExecuteCommand(a, Sub() Return, c),
183+
Sub(a, n, c) EditorCompletionCommandHandler.ExecuteCommand(a, Sub() EditorOperations.MoveLineUp(extendSelection:=False), c),
184184
Sub() EditorOperations.MoveLineUp(extendSelection:=False))
185185
End Sub
186186

0 commit comments

Comments
 (0)