X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Ffgets.c;h=7d5801bb89ea2da4fd9d405135d1873a194b935d;hb=33515db12d3cc5e53a8bdea58d2cde299cba2267;hp=1afd79f6ed7ed50426dadd32414d3a5c1f851df3;hpb=cc5d73c2db0ed51fcdf0b3c80fd043a7e91d4602;p=pdclib.old diff --git a/functions/stdio/fgets.c b/functions/stdio/fgets.c index 1afd79f..7d5801b 100644 --- a/functions/stdio/fgets.c +++ b/functions/stdio/fgets.c @@ -82,7 +82,7 @@ int main( void ) TESTCASE( fgets( buffer, 2, fh ) == NULL ); TESTCASE( feof( fh ) ); TESTCASE( fclose( fh ) == 0 ); - remove( testfile ); + TESTCASE( remove( testfile ) == 0 ); return TEST_RESULTS; }