aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-config.c b/tests/test-config.c
index 666f4689..95abf1a4 100644
--- a/tests/test-config.c
+++ b/tests/test-config.c
@@ -426,6 +426,10 @@ test_color(struct context *ctx, bool (*parse_fun)(struct context *ctx),
{"ffffff", 0xffffff},
{"ffffffff", 0xffffffff, !alpha_allowed},
{"aabbccdd", 0xaabbccdd, !alpha_allowed},
+ {"00", 0, true},
+ {"0000", 0, true},
+ {"00000", 0, true},
+ {"000000000", 0, true},
{"unittest-invalid-color", 0, true},
};