test(option-hook): accept stable drag-resize sync counts #137
No reviewers
Labels
No labels
breaking-change
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
skip-release-notes
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/tmux-mosaic!137
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "test/relayout-count-flake"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The
option_hookdrag-resize count test is noisy because it asserts an exact relayout count even though the real regression boundary is whether resize sync fires duplicate relayouts.Solution
Change the test to assert the sync hook still fires once while allowing the relayout count to settle anywhere up to one, which keeps duplicate-relayout coverage without depending on brittle timing.