chiark / gitweb /
test/testrig.3: Correct return type of `test_do' in the synopsis.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 10 May 2023 23:04:04 +0000 (00:04 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 10 May 2023 23:04:04 +0000 (00:04 +0100)
The later text explains what the function returns, so it clearly is
meant to have a meaningful return value, so the synopsis was just always
wrong.

test/testrig.3

index b996617e7a6a205b63267ccc31eff076c2d7f01c..5a5e9cab594ab240b23770c0e21abba7675ef0f0 100644 (file)
@@ -19,9 +19,9 @@ testrig \- generic test rig
 .nf
 .B "#include <mLib/testrig.h>"
 
-.BI "void test_do(const test_suite " suite [],
-.BI "             FILE *" fp ,
-.BI "             test_results *" results );
+.BI "int test_do(const test_suite " suite [],
+.BI "            FILE *" fp ,
+.BI "            test_results *" results );
 .BI "void test_run(int " argc ", char *" argv [],
 .BI "              const test_chunk " chunk [],
 .BI "              const char *" def );