Skip to content

Commit 46d3800

Browse files
committed
Improve test name
1 parent 4a0b38a commit 46d3800

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hd-tests.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ test__create_horizontal_line__is_console_width()
3434

3535

3636
int
37-
test__get_console_info__has_no_zeros()
37+
test__get_console_info__sets_attributes()
3838
{
3939
/* Arrange */
4040
struct console_info console = { -1, -1, -1 };
4141

4242
/* Act */
4343
get_console_info(&console);
4444

45-
///* Assert */
45+
/* Assert */
4646
if (console.colors < 0 || console.width < 1 || console.height < 0) {
4747
printf("RESULT: %d, %d, %d\n",
4848
console.colors,
@@ -110,7 +110,7 @@ main()
110110
failed_count += test__compact_size_with_suffix__is_bytes();
111111
failed_count += test__create_horizontal_line__is_console_width();
112112
//failed_count += test__create_footer();
113-
failed_count += test__get_console_info__has_no_zeros();
113+
failed_count += test__get_console_info__sets_attributes();
114114

115115
printf("\n%d failing test%c\n", failed_count, failed_count != 1 ? 's' : '\0');
116116

0 commit comments

Comments
 (0)