Skip to content

Commit

Permalink
Fixed up the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaben committed Aug 9, 2024
1 parent 4f17c10 commit 5571d91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Docker.Registry.DotNet.Tests/ImageReferenceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void ImageReferenceWithDigestShouldWork(string digest)

imageRef.Should().NotBeNull();

imageRef.Value.Should().Be(digest.Trim().ToLower());
imageRef.Digest?.ToString().Should().Be(digest.Trim().ToLower());

imageRef.IsDigest.Should().BeTrue();
}
Expand All @@ -46,7 +46,7 @@ public void ImageReferenceWithTagShouldWork()

imageRef.Should().NotBeNull();

imageRef.Value.Should().Be(tag.Trim());
imageRef.Tag?.ToString().Should().Be(tag.Trim());

imageRef.IsTag.Should().BeTrue();
}
Expand Down

0 comments on commit 5571d91

Please sign in to comment.