We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c3b523 commit 3aca4b2Copy full SHA for 3aca4b2
YarnSpinner.LanguageServer.Tests/HoverTests.cs
@@ -79,7 +79,7 @@ public async Task Server_OnHoverCommands_GivesInfo()
79
80
81
// Then
82
- Assert.NotNull(hoverResult);
+ (hoverResult?.ToString() ?? string.Empty).Should().NotBeEmpty();
83
hoverResult?.Contents.MarkedStrings?.ElementAt(0).Language.Should().Be("text");
84
hoverResult?.Contents.MarkedStrings?.ElementAt(0).Value.Should().Be("instance_command_no_params");
85
0 commit comments