Skip to content

Commit b69235f

Browse files
Added a few more tests to ensure that the calls work as expected
1 parent 3e7157d commit b69235f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Lsp.Tests/LspRequestRouterTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public async Task ShouldHandle_Request_WithNullParameters()
170170
{
171171
bool wasShutDown = false;
172172

173-
ShutdownHandler shutdownHandler = new ShutdownHandler();
173+
var shutdownHandler = new ShutdownHandler();
174174
shutdownHandler.Shutdown += shutdownRequested =>
175175
{
176176
wasShutDown = true;
@@ -194,7 +194,7 @@ public async Task ShouldHandle_Request_WithMissingParameters()
194194
{
195195
bool wasShutDown = false;
196196

197-
ShutdownHandler shutdownHandler = new ShutdownHandler();
197+
var shutdownHandler = new ShutdownHandler();
198198
shutdownHandler.Shutdown += shutdownRequested =>
199199
{
200200
wasShutDown = true;

0 commit comments

Comments
 (0)