second unit test works with meson and found source of bug

This commit is contained in:
bjt-user 2024-11-17 10:04:29 +01:00
parent f69d56d91a
commit 28d6710c0a
2 changed files with 9 additions and 0 deletions

View File

@ -4,3 +4,8 @@ t1e = executable('test_print_upcoming', 'test_print_upcoming.c', '../src/parse_i
'../src/list_handling.c', '../src/date_time_handling.c', '../src/read_until_string.c', '../src/read_until_nl.c')
test('test print_upcoming', t1e)
t2e = executable('test_pretty_print_date_time', 'test_pretty_print_date_time.c', '../src/string_handling.c', \
'../src/date_time_handling.c', '../src/read_until_string.c', '../src/read_until_nl.c')
test('test pretty_print_date_time', t2e)

View File

@ -11,4 +11,8 @@ int main() {
printf("\n\ncurrent_date: %s\n", current_date);
printf("strlen(current_date): %ld\n", strlen(current_date));
pretty_print_date_time("20251215T080000Z");
return 0;
}