Skip to content

Commit 8789d76

Browse files
authored
test(datagrid): isolate header title-rect padding test from the value-filter funnel (#1762)
Claude-Session: https://claude.ai/code/session_0198faM6VCrViRU4XwRoS1DC
1 parent 4933917 commit 8789d76

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

TableProTests/Views/Results/SortableHeaderCellTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ struct SortableHeaderCellTests {
99
@Test("Title rect uses data cell horizontal padding")
1010
func titleRectUsesDataCellHorizontalPadding() {
1111
let cell = SortableHeaderCell(textCell: "id")
12+
cell.supportsValueFilter = false
1213
let titleRect = cell.titleRect(forBounds: NSRect(x: 10, y: 0, width: 100, height: 24))
1314

1415
#expect(titleRect.minX == 14)

0 commit comments

Comments
 (0)