Skip to content
This repository has been archived by the owner on Oct 17, 2018. It is now read-only.

✅ Add test for bug fixed in 2ff4ee3f83 #47

Merged
merged 3 commits into from
Jun 16, 2017

Conversation

jasonrudolph
Copy link
Contributor

Description of the Change

This pull request adds a test for the bug fixed in 2ff4ee3.

Normally, I prefer to add the test first and then fix the bug second. We were in a bit of a time crunch to get #46 shipped, so I committed the bug fix in that PR, and I'm following up with this PR to add the corresponding test.

It's probably easier to review this PR's individual commits than it is to review the consolidated diff. For example, f5ea7d0 refactors the existing tests to make room for adding a new test related to the bug. Then, ed3da09 adds the new test related to the bug.

Alternate Designs

N/A

Benefits

We're less likely to accidentally re-introduce the bug fixed in 2ff4ee3.

Possible Drawbacks

N/A

Applicable Issues

#46

This test does more than just click out of the active text editor; it
_destroys_ the active text editor. If you only click out of the active
text editor, the status bar will still show the text editor's line
endings.
Add test to prevent accidentally re-introducing the bug that was fixed
in 2ff4ee3.
@jasonrudolph jasonrudolph merged commit 6552cab into master Jun 16, 2017
@jasonrudolph jasonrudolph deleted the jr-add-test-for-non-editor-element-having-focus branch June 16, 2017 21:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant