Commit Diff


commit - b0aa2229dfdce21f3b35ca48fcdb99bcd9bc069b
commit + 52995679522f2b6c99ff43aa8a9d35f3fb3e68ee
blob - 23e8cfaad8632bb2ad9adb72ec702222e957483d
blob + d907093070afcc952832df4461952aa38419c021
--- lang/c/test.h
+++ lang/c/test.h
@@ -1,5 +1,5 @@
 /* test.h - unit tests
- * pesco 2020
+ * pesco 2020, 2024
  *
  * SYNOPSIS
  *	#include "test.h"
@@ -101,9 +101,10 @@
 #ifndef TEST_H
 #define TEST_H
 
+#include <assert.h>	/* expose assert() for the user */
 #include <stdio.h>	/* printf, fprintf */
-#include <string.h>	/* strncmp */
 #include <stdlib.h>	/* exit, abort, getenv */
+#include <string.h>	/* strncmp */
 
 static int failed_;