Add write mode tests

Signed-off-by: Pradana AUMARS <paumars@courrier.dev>
This commit is contained in:
Pradana AUMARS 2021-07-17 15:24:08 +02:00
parent d6f0b0260e
commit 27fdceb684
1 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ START_TEST(test_easycsv_init_write_2)
csv = easycsv_init(SAMPLE2_PATH, EASYCSV_W);
ck_assert_ptr_nonnull(csv);
easycsv_free(csv);
remove(SAMPLE2_PATH);
}
Suite*
@ -52,7 +53,7 @@ easycsv_constructor_suite(void)
tcase_add_test(tc_write, test_easycsv_init_write_2);
suite_add_tcase(s, tc_read);
//suite_add_tcase(s, tc_write);
suite_add_tcase(s, tc_write);
return s;
}