second unit test works with meson and found source of bug
This commit is contained in:
parent
f69d56d91a
commit
28d6710c0a
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user