Browse Source

Add write mode tests

Signed-off-by: Pradana AUMARS <paumars@courrier.dev>
master
Pradana AUMARS 3 months ago
parent
commit
27fdceb684
  1. 3
      tests/check_easycsv.c

3
tests/check_easycsv.c

@ -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;
}

Loading…
Cancel
Save