aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/test-columns.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/theme-studio/test-columns.mjs')
-rw-r--r--scripts/theme-studio/test-columns.mjs5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/theme-studio/test-columns.mjs b/scripts/theme-studio/test-columns.mjs
index 13986036..ae7a2454 100644
--- a/scripts/theme-studio/test-columns.mjs
+++ b/scripts/theme-studio/test-columns.mjs
@@ -112,6 +112,11 @@ test('groundRoleOfEntry: Boundary - exact ground roles only, not bg-prefix names
assert.equal(groundRoleOfEntry(['#555555', 'ground-1'], ground), 'step');
});
+test('groundRoleOfEntry: Boundary - renamed entries with the ground column id remain steps', () => {
+ const ground = { bg: '#ffffff', fg: '#000000' };
+ assert.equal(groundRoleOfEntry(['#777777', 'renamed-middle', 'ground'], ground), 'step');
+});
+
// --- regenColumn ------------------------------------------------------------
test('regenColumn: Normal - n steps each side plus the base, ordered by offset', () => {