mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
Fix test expectations
This commit is contained in:
@@ -53,10 +53,10 @@ class ConditionalBypassTest {
|
||||
InetAddress loopback = InetAddress.getLoopbackAddress();
|
||||
// GOOD: reverse DNS on loopback address is fine
|
||||
if (loopback.getCanonicalHostName().equals("localhost")) {
|
||||
login(user, password); // $ hasConditionalBypassTest
|
||||
login(user, password);
|
||||
}
|
||||
if (Inet4Address.getLoopbackAddress().getCanonicalHostName().equals("localhost")) {
|
||||
login(user, password); // $ hasConditionalBypassTest
|
||||
login(user, password);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user