unit tests: README, adjust header inclusion order
authorYang Tse <yangsita@gmail.com>
Tue, 24 May 2011 19:23:52 +0000 (21:23 +0200)
committerYang Tse <yangsita@gmail.com>
Tue, 24 May 2011 19:23:52 +0000 (21:23 +0200)
tests/unit/README

index b4d4f6d..dd368f7 100644 (file)
@@ -42,12 +42,9 @@ and the tests/FILEFORMAT documentation.
 For the actual C file, here's a very simple example:
 
 ----------------------- start -------------------------------
-#include <stdlib.h>
-#include "curl_config.h"
-#include "setup.h"
+#include "curlcheck.h"
 
 #include "a libcurl header.h" /* from the lib dir */
-#include "curlcheck.h"
 
 static void unit_setup( void )
 {