Skip to content

Commit f3e4869

Browse files
author
Malcolm Nixon
committed
Cleanup assert.
1 parent 538f9ad commit f3e4869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/DemaConsulting.SpdxModel.Tests/SpdxRelationshipTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public void RelationshipSameElementsComparer()
113113
Assert.IsFalse(SpdxRelationship.SameElements.Equals(r3, r2));
114114

115115
// Assert same relationships have identical hashes
116-
Assert.IsTrue(SpdxRelationship.SameElements.GetHashCode(r1) == SpdxRelationship.SameElements.GetHashCode(r2));
116+
Assert.AreEqual(SpdxRelationship.SameElements.GetHashCode(r1), SpdxRelationship.SameElements.GetHashCode(r2));
117117
}
118118

119119
/// <summary>

0 commit comments

Comments
 (0)