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]