public void GivenIFormatADependencyWithNoBoundsVerifyRangeNotShown() { var range = VersionRange.All; DiagnosticUtility.FormatDependency("A", range).Should().Be("A"); }
public void GivenIFormatADependencyWithANullRangeVerifyRangeNotShown() { DiagnosticUtility.FormatDependency("A", range: null).Should().Be("A"); }
public void GivenIFormatADependencyVerifyOutputString() { var range = VersionRange.Parse("1.0.0"); DiagnosticUtility.FormatDependency("A", range).Should().Be("A (>= 1.0.0)"); }