fix workspace panel header test syntax

This commit is contained in:
dobby-d-elf
2026-05-15 09:01:18 -06:00
parent 0e9017a665
commit acce80a50a
@@ -107,7 +107,6 @@ class TestWorkspacePanelCollapsePriority:
def test_workspace_label_shrinks_with_ellipsis(self):
"""The "Workspace" label must shrink with ellipsis truncation."""
shrink with ellipsis truncation rather than overflow uncontrollably."""
# Find the rule
sel = ".workspace-panel-title-group > span:first-child"
idx = STYLE_CSS.find(sel)
@@ -115,7 +114,6 @@ class TestWorkspacePanelCollapsePriority:
rule = STYLE_CSS[idx: STYLE_CSS.find("}", idx)]
assert "text-overflow:ellipsis" in rule
assert "min-width:0" in rule
assert "min-width:0" in rule
def test_git_badge_uses_second_row(self):
"""`.git-badge` should sit beneath the title/action row."""