-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
Fixes the warnings in the default variable test #5606
Conversation
Why tho? Isn't the goal of the code you changed is to test the warning feature? it even says I would suggest keeping just line 6 and rename the variable to like |
I added it because when I developed the default variables I needed to make sure that no brackets worked. Then the warning came along where no brackets gets considered a StringMode.MESSAGE so it's encouraged to make sure it's a variable now (StringMode.VARIABLE...). The warnings are annoying now when in development mode. |
bd134d0
to
3f08853
Compare
Surely it's still valuable to test that it works, though? |
Well then we need Pikachu's pull request that adds a test runner feature that acts like a try and catch. It's still pending. |
I think this change should be done when we do deprecate the brackets. Until then it's still valuable to test. |
They are deprecated. Do you mean remove? Why shouldn't this be merged now? It's just for testing sake? Tired of seeing this error like it's a new error that a branch I made did, when it's not. |
yeah, I meant remove. I suppose since it's targeting feature it's fine to merge. I just wanted to make sure we're still testing things that are intended to work in 2.8. |
I fixed default variables in 2.7. It is unrelated to 2.8 and can be included in 2.8. |
Description
Fixes the warnings in the default variable test.
Warnings that this pull request removes:
Target Minecraft Versions: any
Requirements: none
Related Issues: none