protocol

protocol tests
Log | Files | Refs | Submodules | README | git clone https://git.ne02ptzero.me/git/protocol

commit 9649ce9b5b6813bf97ba2a91ca3ecf0eb2fdee38
parent 3b756f49e45435023a18cc06eb8aa5f157732b64
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Sun, 26 Mar 2017 22:05:46 +0200

Fix(client_test): Removed some useless test

Diffstat:
Msrc/client_test.c | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/client_test.c b/src/client_test.c @@ -175,10 +175,6 @@ TEST(pkg_req_get_pkg_1_read) { pkg = read_pkg(ret); TEST_ASSERT(pkg, "Can't read package"); TEST_ASSERT(pkg->type == PKG_TYPE_ERROR, "Package type is wrong"); - - err = pkg->payload->member; - TEST_ASSERT(err->error_type == ERR_RES_NOT_FOUND, "Error type is wrong"); - TEST_ASSERT(strcmp(err->err, "Package not found") == 0, "Error string is wrong"); free(ret); return TEST_SUCCESS; }