projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleaning up TODOs.
[fw/pdclib]
/
functions
/
stdio
/
fwrite.c
diff --git
a/functions/stdio/fwrite.c
b/functions/stdio/fwrite.c
index 8b40551d6598d2ee780f07535d814f798b2c64be..0ea1b02e75fcef534a2ecc132984c2f1ed3a5f7e 100644
(file)
--- a/
functions/stdio/fwrite.c
+++ b/
functions/stdio/fwrite.c
@@
-87,11
+87,7
@@
size_t fwrite( const void * _PDCLIB_restrict ptr, size_t size, size_t nmemb, str
int main( void )
{
int main( void )
{
- FILE * fh;
- TESTCASE( ( fh = tmpfile() ) != NULL );
- TESTCASE( fwrite( "SUCCESS testing fwrite()\n", 1, 25, fh ) == 25 );
- /* TODO: Add readback test. */
- TESTCASE( fclose( fh ) == 0 );
+ /* Testing covered by fread(). */
return TEST_RESULTS;
}
return TEST_RESULTS;
}