summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-04-18 14:53:56 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-04-19 13:02:28 -0400
commitc66379749f423413913b406609dfe9311ba6e555 (patch)
tree6f0a3095455e5da8b672e0e052e46f566d48428c /tests
parent1501910dd0d09c50057c8358901663a87333bd8f (diff)
downloadbfs-c66379749f423413913b406609dfe9311ba6e555.tar.xz
Rename config.h to prelude.h
Diffstat (limited to 'tests')
-rw-r--r--tests/alloc.c2
-rw-r--r--tests/bfstd.c2
-rw-r--r--tests/bit.c2
-rw-r--r--tests/ioq.c2
-rw-r--r--tests/main.c2
-rw-r--r--tests/tests.h2
-rw-r--r--tests/trie.c2
-rw-r--r--tests/xspawn.c2
-rw-r--r--tests/xtime.c2
-rw-r--r--tests/xtouch.c2
10 files changed, 10 insertions, 10 deletions
diff --git a/tests/alloc.c b/tests/alloc.c
index 54b84ba..6c0defd 100644
--- a/tests/alloc.c
+++ b/tests/alloc.c
@@ -1,9 +1,9 @@
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD
+#include "prelude.h"
#include "tests.h"
#include "alloc.h"
-#include "config.h"
#include "diag.h"
#include <errno.h>
#include <stdlib.h>
diff --git a/tests/bfstd.c b/tests/bfstd.c
index 5e408ca..07b68b0 100644
--- a/tests/bfstd.c
+++ b/tests/bfstd.c
@@ -1,9 +1,9 @@
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD
+#include "prelude.h"
#include "tests.h"
#include "bfstd.h"
-#include "config.h"
#include "diag.h"
#include <errno.h>
#include <langinfo.h>
diff --git a/tests/bit.c b/tests/bit.c
index b444e50..674d1b2 100644
--- a/tests/bit.c
+++ b/tests/bit.c
@@ -1,9 +1,9 @@
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD
+#include "prelude.h"
#include "tests.h"
#include "bit.h"
-#include "config.h"
#include "diag.h"
#include <limits.h>
#include <stdint.h>
diff --git a/tests/ioq.c b/tests/ioq.c
index a69f2bf..ef5ee3b 100644
--- a/tests/ioq.c
+++ b/tests/ioq.c
@@ -1,10 +1,10 @@
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD
+#include "prelude.h"
#include "tests.h"
#include "ioq.h"
#include "bfstd.h"
-#include "config.h"
#include "diag.h"
#include "dir.h"
#include <errno.h>
diff --git a/tests/main.c b/tests/main.c
index 281c417..429772b 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -5,10 +5,10 @@
* Entry point for unit tests.
*/
+#include "prelude.h"
#include "tests.h"
#include "bfstd.h"
#include "color.h"
-#include "config.h"
#include <errno.h>
#include <locale.h>
#include <stdio.h>
diff --git a/tests/tests.h b/tests/tests.h
index d61ffd7..9078938 100644
--- a/tests/tests.h
+++ b/tests/tests.h
@@ -8,7 +8,7 @@
#ifndef BFS_TESTS_H
#define BFS_TESTS_H
-#include "config.h"
+#include "prelude.h"
#include "diag.h"
/** Unit test function type. */
diff --git a/tests/trie.c b/tests/trie.c
index 2a6eb48..4667322 100644
--- a/tests/trie.c
+++ b/tests/trie.c
@@ -1,9 +1,9 @@
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD
+#include "prelude.h"
#include "tests.h"
#include "trie.h"
-#include "config.h"
#include "diag.h"
#include <stdlib.h>
#include <string.h>
diff --git a/tests/xspawn.c b/tests/xspawn.c
index fd8362e..7362aa5 100644
--- a/tests/xspawn.c
+++ b/tests/xspawn.c
@@ -1,10 +1,10 @@
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD
+#include "prelude.h"
#include "tests.h"
#include "alloc.h"
#include "bfstd.h"
-#include "config.h"
#include "dstring.h"
#include "xspawn.h"
#include <stdlib.h>
diff --git a/tests/xtime.c b/tests/xtime.c
index fd7aa0f..a7c63d2 100644
--- a/tests/xtime.c
+++ b/tests/xtime.c
@@ -1,10 +1,10 @@
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD
+#include "prelude.h"
#include "tests.h"
#include "xtime.h"
#include "bfstd.h"
-#include "config.h"
#include "diag.h"
#include <errno.h>
#include <limits.h>
diff --git a/tests/xtouch.c b/tests/xtouch.c
index b1daec7..82d749d 100644
--- a/tests/xtouch.c
+++ b/tests/xtouch.c
@@ -1,8 +1,8 @@
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD
+#include "prelude.h"
#include "bfstd.h"
-#include "config.h"
#include "sanity.h"
#include "xtime.h"
#include <errno.h>