Fix an inspector warning
This commit is contained in:
parent
4a86446053
commit
50f8cc98d1
@ -35,7 +35,7 @@ public class SocksCmdResponseDecoderTest {
|
||||
if (addressType == SocksAddressType.UNKNOWN) {
|
||||
assertTrue(embedder.readInbound() instanceof UnknownSocksResponse);
|
||||
} else {
|
||||
msg = (SocksResponse) embedder.readInbound();
|
||||
msg = embedder.readInbound();
|
||||
assertEquals(((SocksCmdResponse) msg).cmdStatus(), cmdStatus);
|
||||
if (host != null) {
|
||||
assertEquals(((SocksCmdResponse) msg).host(), host);
|
||||
|
Loading…
Reference in New Issue
Block a user