Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOSED] Fix unit test failure from pull request #4878. Added unit test for hiding Active Line highlight when editor has selection. #4547

Open
core-ai-bot opened this issue Aug 29, 2021 · 2 comments

Comments

@core-ai-bot
Copy link
Member

Issue by lkcampbell
Saturday Aug 24, 2013 at 16:36 GMT
Originally opened as adobe/brackets#4927


Here's the fix for the unit test errors caused by pull request #4878. I moved the check out of the toggle command code and into the _setEditorOption() code per the suggestion of@jasonsanjose.

I also added a new unit test to check for the temporary hiding of the Active Line Highlight when there is an editor selection. Tested the positive and negative scenarios. Ran the entire test suite. Everything looks good. There are still quite a few errors in the unit test suite right now, but none appear to be related to my changes.


lkcampbell included the following code: https://github.com/adobe/brackets/pull/4927/commits

@core-ai-bot
Copy link
Member Author

Comment by lkcampbell
Saturday Aug 24, 2013 at 16:37 GMT


@RaymondLim and@jasonsanjose, here's the new unit test and the fix for the old unit test failure.

@core-ai-bot
Copy link
Member Author

Comment by RaymondLim
Monday Aug 26, 2013 at 22:39 GMT


Travis build passed after I restarted. Merging now.

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

No branches or pull requests

1 participant