Skip to content

Commit 43c0969

Browse files
authored
Fix some mistakes in strings that have no bearing on anything important
1 parent 3f0cd58 commit 43c0969

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Razor/test/Microsoft.VisualStudio.LanguageServices.Razor.Test/Cohost/CohostCodeActionsEndpointTest.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ await VerifyCodeActionAsync(
597597
""",
598598
additionalFiles: [
599599
(FilePath("File1.razor.cs"), """
600-
namespace SomeProject
600+
namespace SomeProject;
601601
602602
public partial class File1
603603
{
@@ -608,7 +608,7 @@ public void M()
608608
""")],
609609
additionalExpectedFiles: [
610610
(FileUri("File1.razor.cs"), """
611-
namespace SomeProject
611+
namespace SomeProject;
612612
613613
public partial class File1
614614
{
@@ -636,15 +636,15 @@ await VerifyCodeActionAsync(
636636
""",
637637
additionalFiles: [
638638
(FilePath("File1.razor.cs"), """
639-
namespace SomeProject
639+
namespace SomeProject;
640640
641641
public partial class File1
642642
{
643643
}
644644
""")],
645645
additionalExpectedFiles: [
646646
(FileUri("File1.razor.cs"), """
647-
namespace SomeProject
647+
namespace SomeProject;
648648
649649
public partial class File1
650650
{
@@ -954,7 +954,7 @@ private async Task VerifyCodeActionAsync(TestCode input, string? expected, strin
954954

955955
var codeActionToRun = (VSInternalCodeAction?)result.SingleOrDefault(e => ((RazorVSInternalCodeAction)e.Value!).Name == codeActionName || ((RazorVSInternalCodeAction)e.Value!).Title == codeActionName).Value;
956956
AssertEx.NotNull(codeActionToRun, $"""
957-
Could not file code action with name or title '{codeActionName}'.
957+
Could not find code action with name or title '{codeActionName}'.
958958
959959
Available:
960960
{string.Join(Environment.NewLine + " ", result.Select(e => $"{((RazorVSInternalCodeAction)e.Value!).Name} or {((RazorVSInternalCodeAction)e.Value!).Title}"))}

0 commit comments

Comments
 (0)