-
Notifications
You must be signed in to change notification settings - Fork 0
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] Indent/tab size sporadically reset to 1 - due to unit test? #2485
Comments
I think for now this piece of code can be removed. |
Reviewed. To |
FBNC to |
I don't really have a means to verify since Glenn and I each only hit this once and weren't able to repro it. Closing, and I'll just reopen if anyone sees this again. |
I also hit it once. Will reopen if I see it again, but it's hard to imagine it would happen again after |
Saturday Jan 19, 2013 at 01:26 GMT
Originally opened as adobe/brackets#2612
@
gruehle and I both recently had our indent size setting suddenly change to 1 (from our usual 4) with no warning. We're not sure why.@
zoufahl noted that his CSS code hinting unit tests manually set it to 1. Looking at the unit test code, they're definitely doing it in a way that could break other unit tests -- the setting is changed as soon as the test module loads (even if it's never run), and it's never reset later. But it doesn't readily affect the main Brackets window, even if I explicitly run the test.It's likely the cause anyway, but I'm just not sure how (and/or what circumstances will make it repro).
If it's the unit test though, this luckily won't affect installer builds, since those exclude all unit test code.
The text was updated successfully, but these errors were encountered: