MergeDuplicateWaysTest: FIXUP sonar issue

Signed-off-by: Taylor Smock <tsmock@fb.com>
pull/1/head
Taylor Smock 2020-09-23 09:21:58 -06:00
rodzic 99d1b61ab9
commit e8b5a1cdad
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -218,7 +218,7 @@ public class MergeDuplicateWaysTest {
assertFalse(MergeDuplicateWays.checkDirection(set), "The direction is not the same");
pair1.b.a = pair1.b.a - 2;
assertThrows(NullPointerException.class, () -> assertNull(MergeDuplicateWays.checkDirection(null)),
assertThrows(NullPointerException.class, () -> MergeDuplicateWays.checkDirection(null),
"Throw an NPE if the argument is null");
assertFalse(MergeDuplicateWays.checkDirection(Collections.emptySet()),