summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-05-09 11:05:48 -0300
committerEuAndreh <eu@euandre.org>2024-05-09 11:05:48 -0300
commitfdedbb3b1fe26d2063481528194d3d3f45c71be0 (patch)
treea6234ea3291ff5c622893be4f005329ebf16571d /tests
parentMakefile: Make all $(derived-assets) depend on Makefile and deps.mk, instead ... (diff)
downloadpindaiba-fdedbb3b1fe26d2063481528194d3d3f45c71be0.tar.gz
pindaiba-fdedbb3b1fe26d2063481528194d3d3f45c71be0.tar.xz
Normalize all "color" to "colour"
Diffstat (limited to 'tests')
-rw-r--r--tests/testing.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/testing.c b/tests/testing.c
index 3c605a7..554dd34 100644
--- a/tests/testing.c
+++ b/tests/testing.c
@@ -11,32 +11,32 @@ main(void) {
const bool should_overwrite = true;
if (unsetenv(ENVVAR_NAME)) {
- perror("unsetenv(\"NO_COLOR\")");
+ perror("unsetenv(\"NO_COLOUR\")");
goto out;
}
{
assert(show_colour() == true);
- testing("unset NO_COLOR");
+ testing("unset NO_COLOUR");
test_ok();
}
if (setenv(ENVVAR_NAME, "", should_overwrite)) {
- perror("setenv(\"NO_COLOR\", \"\", 1)");
+ perror("setenv(\"NO_COLOUR\", \"\", 1)");
goto out;
}
{
assert(show_colour() == true);
- testing("empty NO_COLOR");
+ testing("empty NO_COLOUR");
test_ok();
}
if (setenv(ENVVAR_NAME, "something", should_overwrite)) {
- perror("setenv(\"NO_COLOR\", \"something\", 1)");
+ perror("setenv(\"NO_COLOUR\", \"something\", 1)");
goto out;
}
{
assert(show_colour() == false);
- testing("defined NO_COLOR");
+ testing("defined NO_COLOUR");
test_ok();
}