Skip to content

Fix redundant syncComponents and improve test consistency#9

Open
JaredHatfield wants to merge 1 commit into
mainfrom
fix/tui-mouse-sync-cleanup
Open

Fix redundant syncComponents and improve test consistency#9
JaredHatfield wants to merge 1 commit into
mainfrom
fix/tui-mouse-sync-cleanup

Conversation

@JaredHatfield

Copy link
Copy Markdown
Member

Changes

  • Remove redundant syncComponents() call in updateMouseClick (already called at function entry)
  • Use t.TempDir() and filepath.Join in TestTUIMouseHoverAfterSourceBackUsesCurrentLayout for consistency with other tests
  • Add clarifying comment for rendered copy pattern in test

- Remove redundant syncComponents() call in updateMouseClick
- Use t.TempDir() and filepath.Join in TestTUIMouseHoverAfterSourceBackUsesCurrentLayout
- Add clarifying comment for rendered copy pattern in test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant