Skip to content

Commit 3aca4b2

Browse files
papplebydesplesda
authored andcommitted
Assert.NotNull breaks the test build on github for some reason
1 parent 9c3b523 commit 3aca4b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

YarnSpinner.LanguageServer.Tests/HoverTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public async Task Server_OnHoverCommands_GivesInfo()
7979

8080

8181
// Then
82-
Assert.NotNull(hoverResult);
82+
(hoverResult?.ToString() ?? string.Empty).Should().NotBeEmpty();
8383
hoverResult?.Contents.MarkedStrings?.ElementAt(0).Language.Should().Be("text");
8484
hoverResult?.Contents.MarkedStrings?.ElementAt(0).Value.Should().Be("instance_command_no_params");
8585

0 commit comments

Comments
 (0)