Skip to content

Commit fab1b70

Browse files
Copilotdavidwengier
andcommitted
Fix test - remove codeActionName parameter when expected is null
Co-authored-by: DustinCampbell <[email protected]>
1 parent 51df010 commit fab1b70

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Razor/test/Microsoft.VisualStudioCode.RazorExtension.Test/Endpoints/Shared/CodeActions/SimplifyFullyQualifiedComponentTests.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,7 @@ await VerifyCodeActionAsync(
318318
<div></div>
319319
""",
320320
expected: null,
321-
fileKind: RazorFileKind.Legacy,
322-
codeActionName: LanguageServerConstants.CodeActions.SimplifyFullyQualifiedComponent);
321+
fileKind: RazorFileKind.Legacy);
323322
}
324323

325324
[Fact]
@@ -331,7 +330,6 @@ await VerifyCodeActionAsync(
331330
var x = "Microsoft.AspNetCore.Components.Forms.Input[||]Text";
332331
}
333332
""",
334-
expected: null,
335-
codeActionName: LanguageServerConstants.CodeActions.SimplifyFullyQualifiedComponent);
333+
expected: null);
336334
}
337335
}

0 commit comments

Comments
 (0)