From 3d8bb0aad6ef86712ab49377e636a9c223028a87 Mon Sep 17 00:00:00 2001 From: bitsandfoxes Date: Mon, 9 Oct 2023 17:03:15 +0200 Subject: [PATCH] tests --- test/Sentry.Tests/Internals/ApplicationVersionLocatorTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Sentry.Tests/Internals/ApplicationVersionLocatorTests.cs b/test/Sentry.Tests/Internals/ApplicationVersionLocatorTests.cs index ccd4be9e37..7dacfc8c54 100644 --- a/test/Sentry.Tests/Internals/ApplicationVersionLocatorTests.cs +++ b/test/Sentry.Tests/Internals/ApplicationVersionLocatorTests.cs @@ -36,11 +36,11 @@ public void GetCurrent_VersionWithPrefix_ReturnsVersionAsIs() [Theory] [InlineData("")] - public void GetCurrent_InvalidCases_ReturnsNull(string version) + public void GetCurrent_InvalidCases_DoesNotReturnNull(string version) { var asm = AssemblyCreationHelper.CreateWithInformationalVersion(version); var actual = ApplicationVersionLocator.GetCurrent(asm); - Assert.Null(actual); + Assert.NotNull(actual); } [Fact]