Skip to content

Commit

Permalink
better test coverage
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Volf <[email protected]>
  • Loading branch information
martin-volf committed Jan 29, 2024
1 parent 5ff91e2 commit fa5b5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/net/schmizz/sshj/ConnectedSocketTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private static interface Connector {

private static void connectViaHostname(SshServerExtension fx) throws IOException {
SshServer server = fx.getServer();
fx.getClient().connect(server.getHost(), server.getPort());
fx.getClient().connect("localhost", server.getPort());
}

private static void connectViaAddr(SshServerExtension fx) throws IOException {
Expand Down

0 comments on commit fa5b5ce

Please sign in to comment.