Update read/write tests to match API changes.
This commit is contained in:
parent
d44ec4b2c1
commit
f3384e8eb7
@ -114,7 +114,7 @@ void test_instruction_read() {
|
|||||||
CU_ASSERT_STRING_EQUAL(instruction->argv[1], "worldworldworld");
|
CU_ASSERT_STRING_EQUAL(instruction->argv[1], "worldworldworld");
|
||||||
|
|
||||||
guac_instruction_free(instruction);
|
guac_instruction_free(instruction);
|
||||||
guac_socket_close(socket);
|
guac_socket_free(socket);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ void test_instruction_write() {
|
|||||||
guac_protocol_send_sync(socket, 12345);
|
guac_protocol_send_sync(socket, 12345);
|
||||||
guac_socket_flush(socket);
|
guac_socket_flush(socket);
|
||||||
|
|
||||||
guac_socket_close(socket);
|
guac_socket_free(socket);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user