-
Notifications
You must be signed in to change notification settings - Fork 136
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
Make test suite work in OTP 25 #1402
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
69b6047
Fix EEP-48 case for the nonexisting_type test
fabjan 9c5d5d1
Make hover docs fallback tests avoid EEP-48 docs
fabjan c7463bd
Fix hover suite formatting
fabjan 9c4cfb0
Make nonexisting_type test work in OTP 24 and 25
fabjan 9b12c7c
Improve mocking in eep48 fallback tests
fabjan 746e727
Skip OTP EEP-48 tests if OTP is built without docs
fabjan 2887d3d
Add OTP 25 to CI
fabjan de4f89d
Fix eep48 check in remote_call_otp test
fabjan b1bc61c
Make tests work if els_eep48_docs is undefined
fabjan 0e15306
Remove OTP 22 from CI
fabjan ab98ee5
fmt
fabjan 09f09b5
Fix eep48 check in resolve_application_remote_otp
fabjan 3dcd3e1
Make has_eep48 test helper more readable
fabjan ae4eda0
Fix eep48 in resolve_type_application_remote_otp
fabjan 222c07e
Silence els_config warnings in PropEr suite
fabjan f1e265c
Increase halt_called wait timeout in PropEr suite
fabjan 187acdb
Cleanup WIP comment in nonexisting_type test
fabjan 3db8e76
Comment the version check in nonexisting_type test
fabjan 13db044
Clean up useless leftover diffs
fabjan 2769499
Fix halt_called timeout in PropEr suite
fabjan ca1aa6c
Only unload els_docs mock after cases that used it
fabjan 27601e3
fmt
fabjan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I think there is a bug in
els_eep48_docs:render
when running in OTP versions under 25, and that is why this current test code looks a bit weird (it checks if has_eep48_edoc() is true or false but uses the same test data regardless)On OTP 24 locally on my machine,
els_eep48_docs:render
returns{error, function_missing}
for thisj
function that is hovered. On OTP 25 it returns some kind of doc chunks instead even of the function is not documented. Maybe OTP started automatically adding doc chunks for specs?Anywho, I didn't want to make changes to the production code in this PR adding OTP 25 to CI, so not diving into if
els_eep48_docs:render
should be improved (especially since it seems to me that it's under OTP 24 it is behaving badly).