Exemple #1
0
 public void NoArrowDelimiterReturnsFalse(
     NugetListingParser sut)
 {
     sut.TryParse(
         "  Mutagen.Bethesda.Synthesis      0.10.7.0    0.10.7 (D)   0.10.8.1",
         out _,
         out _,
         out _,
         out _)
     .Should().BeFalse();
 }
Exemple #2
0
 public void DepreciatedNugetParse(
     NugetListingParser sut)
 {
     sut.TryParse(
         "   > Mutagen.Bethesda.Synthesis      0.10.7.0    0.10.7 (D)   0.10.8.1",
         out var package,
         out var requested,
         out var resolved,
         out var latest)
     .Should().BeTrue();
     package.Should().Be("Mutagen.Bethesda.Synthesis");
     requested.Should().Be("0.10.7.0");
     resolved.Should().Be("0.10.7");
     latest.Should().Be("0.10.8.1");
 }