Skip to content

Add missing test cases newCursorForMoveRightWord()#5806

Open
kyu08 wants to merge 1 commit into
jesseduffield:masterfrom
kyu08:add-test-cases
Open

Add missing test cases newCursorForMoveRightWord()#5806
kyu08 wants to merge 1 commit into
jesseduffield:masterfrom
kyu08:add-test-cases

Conversation

@kyu08

@kyu08 kyu08 commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

PR Description

I noticed that pkg/gocui/text_area.go#L357-L359 is not covered by unit test when I was implementing #5804.

So I added insufficient test cases.

Please check if the PR fulfills these requirements

  • Cheatsheets are up-to-date (run go generate ./...)
  • Code has been formatted (see here)
  • Tests have been added/updated (see here for the integration test guide)
  • Text is internationalised (see here)
  • If a new UserConfig entry was added, make sure it can be hot-reloaded (see here)
  • Docs have been updated if necessary
  • You've read through your own file changes for silly mistakes etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant