adjusted tests
This commit is contained in:
@@ -10,7 +10,6 @@ int main(void)
|
|||||||
{
|
{
|
||||||
char c = 97;
|
char c = 97;
|
||||||
|
|
||||||
_printf("%c%c\n", c, c);
|
_printf("cat: %css", c);
|
||||||
_printf("cat: %c\n", c);
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|||||||
12
tests/puts.c
Normal file
12
tests/puts.c
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#include "../main.h"
|
||||||
|
/**
|
||||||
|
* main - puts works?
|
||||||
|
*/
|
||||||
|
int main(void)
|
||||||
|
{
|
||||||
|
char *str;
|
||||||
|
|
||||||
|
str = "hello\n";
|
||||||
|
_puts(str);
|
||||||
|
return (0);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user