We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d03c3f commit 1d38503Copy full SHA for 1d38503
Yubico.YubiKey/tests/unit/Yubico/YubiKey/VersionQualifierTests.cs
@@ -79,11 +79,6 @@ public void TestEqualsAndHashCode()
79
Assert.Equal(qualifier1, qualifier2);
80
Assert.Equal(qualifier1.GetHashCode(), qualifier2.GetHashCode());
81
Assert.NotEqual(qualifier1, qualifier3);
82
- // Hash codes are not guaranteed to be different for non-equal objects,
83
- // but for these specific inputs, they likely will be.
84
- // If this assertion fails, it might not indicate a bug in GetHashCode itself,
85
- // as long as the Equals contract is maintained.
86
- // Assert.NotEqual(qualifier1.GetHashCode(), qualifier3.GetHashCode());
87
}
88
89
[Fact]
0 commit comments