[F] Fix tests

This commit is contained in:
seleznevae 2019-12-03 20:54:34 +03:00
parent 067e0ad9a3
commit f17f150e43
3 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
### Bug fixes ### Bug fixes
- Fix undefined behavior due to incorrect usage of `isprint` function. - Fix undefined behavior due to incorrect usage of `isprint` function.
- Fix incorrect border character in `SOLID` style
### Internal ### Internal

View File

@ -4697,7 +4697,7 @@ f_status set_default_cell_property(uint32_t property, int value)
"", "", "", "", \ "", "", "", "", \
"", "", "", \ "", "", "", \
"", "", "", "", \ "", "", "", "", \
"", "", "", "", \ "", "", "", "", \
"", "", "", "", \ "", "", "", "", \
}, \ }, \
/* header_border_chars */ \ /* header_border_chars */ \

View File

@ -560,7 +560,7 @@ void test_table_builtin_border_styles(void)
"├──────┼──────────────────────────┼──────┼────────┤\n" "├──────┼──────────────────────────┼──────┼────────┤\n"
"│ 4 │ 2001: A Space Odyssey │ 1968 │ 8.5 │\n" "│ 4 │ 2001: A Space Odyssey │ 1968 │ 8.5 │\n"
"│ 5 │ Blade Runner │ 1982 │ 8.1 │\n" "│ 5 │ Blade Runner │ 1982 │ 8.1 │\n"
"└──────┴──────────────────────────┴──────┴────────\n"; "└──────┴──────────────────────────┴──────┴────────\n";
assert_str_equal(table_str, table_str_etalon); assert_str_equal(table_str, table_str_etalon);
ft_destroy_table(table); ft_destroy_table(table);