Skip to content

Commit e2101ac

Browse files
author
Gonzalo Diaz
committed
[BUGFIX] Sonarcloud Maintainability: Review or remove the assertion as its condition is known to be always true
1 parent 8e34609 commit e2101ac

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

algorithm_exercises_csharp_test/src/Hello.Test.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ public void testInstance()
2020
Assert.IsInstanceOfType(a, knownType);
2121
Assert.IsInstanceOfType(a, resultType);
2222

23-
int resultHashCode = a.GetHashCode();
24-
Assert.IsNotNull(resultHashCode);
25-
2623
bool expectedEquals = true;
2724
bool expectedNotEquals = false;
2825
Assert.AreEqual(expectedEquals, a.Equals(a));

0 commit comments

Comments
 (0)