Try to fix test cases #841
Open
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.
What
Working copy of trying to fix test framework to work with the new
version of HyWikiWord-highlighting.
Why
Sharing for collaboration on making the tests work again.
Notes
Some of the changes are general improvements I found while working on this. Things not really related to how the highlighting is done. That includes:
I'm not taking the time now but it could possibly be beneficial to apply these changes to the master branch as a separate task. Using that approach it makes it easier to separate out what is affecting what. i.e. if master branch works after these changes then we know for sure those does not effect the tests.
The more test related changes include:
The final word on what is really, really, really required here is not known. I had some success with the using find-file, some with adding the self-insert-hook and also with going straight to the hywiki-functions. It need further investigation.
Running the test suite with different versions of Emacs also gives different results. Ranging from 2 failed test to 8 failed. So there is some Emacs version dependencies.