diff --git a/clio.tests/Command/UpdateClioCommandTests.cs b/clio.tests/Command/UpdateClioCommandTests.cs index abf30e95..562d937d 100644 --- a/clio.tests/Command/UpdateClioCommandTests.cs +++ b/clio.tests/Command/UpdateClioCommandTests.cs @@ -24,7 +24,7 @@ public void CheckVersionCommandTests() { public void CheckVersionFromGitHubAndNuget() { var versionFromNuget = UpdateCliCommand.GetLatestVersionFromNuget(); var versionFromGitHub = UpdateCliCommand.GetLatestVersionFromGitHub(); - versionFromNuget.Should().Be(versionFromGitHub); + versionFromGitHub.CompareTo(versionFromNuget).Should().BeLessThan(1); } } }