Merge pull request #2 from EniumRaphael/test/char
fix(test/char): fixing typo on the error message
This commit is contained in:
commit
94cdf7a155
7 changed files with 7 additions and 7 deletions
|
|
@ -25,7 +25,7 @@ int main(void)
|
||||||
{
|
{
|
||||||
if (ft_isalnum(c) != isalnum(c))
|
if (ft_isalnum(c) != isalnum(c))
|
||||||
{
|
{
|
||||||
printf("%s✘ Found %i, excepted %i%s\n", CLR_RED, ft_isalnum(c),
|
printf("%s✘ Found %i, expected %i%s\n", CLR_RED, ft_isalnum(c),
|
||||||
isalnum(c), RESET);
|
isalnum(c), RESET);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ int main(void)
|
||||||
{
|
{
|
||||||
if (ft_isalpha(c) != isalpha(c))
|
if (ft_isalpha(c) != isalpha(c))
|
||||||
{
|
{
|
||||||
printf("%s✘ Found %i, excepted %i%s\n", CLR_RED, ft_isalpha(c),
|
printf("%s✘ Found %i, expected %i%s\n", CLR_RED, ft_isalpha(c),
|
||||||
isalpha(c), RESET);
|
isalpha(c), RESET);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ int main(void)
|
||||||
{
|
{
|
||||||
if (ft_isascii(c) != isascii(c))
|
if (ft_isascii(c) != isascii(c))
|
||||||
{
|
{
|
||||||
printf("%s✘ Found %i, excepted %i%s\n", CLR_RED, ft_isascii(c),
|
printf("%s✘ Found %i, expected %i%s\n", CLR_RED, ft_isascii(c),
|
||||||
isascii(c), RESET);
|
isascii(c), RESET);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ int main(void)
|
||||||
{
|
{
|
||||||
if (ft_isdigit(c) != isdigit(c))
|
if (ft_isdigit(c) != isdigit(c))
|
||||||
{
|
{
|
||||||
printf("%s✘ Found %i, excepted %i%s\n", CLR_RED, ft_isdigit(c),
|
printf("%s✘ Found %i, expected %i%s\n", CLR_RED, ft_isdigit(c),
|
||||||
isdigit(c), RESET);
|
isdigit(c), RESET);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ int main(void)
|
||||||
{
|
{
|
||||||
if (ft_isprint(c) != isprint(c))
|
if (ft_isprint(c) != isprint(c))
|
||||||
{
|
{
|
||||||
printf("%s✘ Found %i, excepted %i%s\n", CLR_RED, ft_isprint(c),
|
printf("%s✘ Found %i, expected %i%s\n", CLR_RED, ft_isprint(c),
|
||||||
isprint(c), RESET);
|
isprint(c), RESET);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ int main(void)
|
||||||
{
|
{
|
||||||
if (ft_tolower(c) != tolower(c))
|
if (ft_tolower(c) != tolower(c))
|
||||||
{
|
{
|
||||||
printf("%s✘ Found %i, excepted %i%s\n", CLR_RED, ft_tolower(c),
|
printf("%s✘ Found %i, expected %i%s\n", CLR_RED, ft_tolower(c),
|
||||||
tolower(c), RESET);
|
tolower(c), RESET);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ int main(void)
|
||||||
{
|
{
|
||||||
if (ft_toupper(c) != toupper(c))
|
if (ft_toupper(c) != toupper(c))
|
||||||
{
|
{
|
||||||
printf("%s✘ Found %i, excepted %i%s\n", CLR_RED, ft_toupper(c),
|
printf("%s✘ Found %i, expected %i%s\n", CLR_RED, ft_toupper(c),
|
||||||
toupper(c), RESET);
|
toupper(c), RESET);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue