Suppress compilation warning on unit testing intentional failure

pull/186/head
luccioman 7 years ago
parent 876bcd2f54
commit 26aa5f7a0f

@ -29,6 +29,7 @@ public class BlacklistTest {
hostList.add(pattern);
// proof assumption pattern(path) != path
@SuppressWarnings("unlikely-arg-type")
boolean ret = hostList.contains(path);
assertFalse("match blacklist pattern " + path, ret);

Loading…
Cancel
Save