-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
Update ExprHoverList for 1.21+ #6988
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use JUnit and call the event manually to test it
@UnderscoreTud the event can only be called asynchronously, but it seems that this causes it to not complete the objectives as the event is called after the tests have completed, therefore saying that no objectives have been completed, despite the fact that they do actually complete. i've also had to do some trickery to make sure it recognizes it as the current test. any ideas on how to fix this? |
Co-authored-by: sovdee <[email protected]>
before this is merged, #6988 (comment) needs to be addressed by someone who actually knows what they're doing |
I think it'd be better to simply remove the tests if we can't find a quick fix rather than put this off till 2.9.3 |
# Conflicts: # src/test/skript/junit/ExprHoverList.sk
Description
Fixes #6974 while maintaining backwards compatibility. Tested on 1.20.5 and 1.21.1 with the code used in the original issue. Not sure how I would add tests for this, please lmk for ideas.
Target Minecraft Versions: any
Requirements: none
Related Issues: #6974