mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-05 20:55:46 +03:00
tests: torture_connect: fix coding style
Signed-off-by: Luka Perkov <luka.perkov@sartura.hr> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
0b8d24f800
commit
0c5d4954a7
@@ -59,7 +59,6 @@ static void torture_connect_nonblocking(void **state) {
|
||||
} while(rc == SSH_AGAIN);
|
||||
|
||||
assert_true(rc == SSH_OK);
|
||||
|
||||
}
|
||||
|
||||
static void torture_connect_timeout(void **state) {
|
||||
@@ -102,7 +101,6 @@ static void torture_connect_double(void **state) {
|
||||
|
||||
rc = ssh_connect(session);
|
||||
assert_true(rc == SSH_OK);
|
||||
|
||||
}
|
||||
|
||||
static void torture_connect_failure(void **state) {
|
||||
@@ -114,6 +112,7 @@ static void torture_connect_failure(void **state){
|
||||
ssh_session session = *state;
|
||||
ssh_disconnect(session);
|
||||
}
|
||||
|
||||
int torture_run_tests(void) {
|
||||
int rc;
|
||||
const UnitTest tests[] = {
|
||||
|
Reference in New Issue
Block a user