Tests for org-links outside of org-mode - #512
Conversation
0ed47bb to
3f7adcc
Compare
3f7adcc to
f62a646
Compare
Are you saying that we need to run the test with all four values (unset buttons t nil)? |
|
Yes.-- BobOn Apr 8, 2024, at 4:49 PM, Mats Lidell ***@***.***> wrote:
Look at the values of hsys-org-enable-smart-keys, need to test those to ensure nothing gets written that is conditionalized on that and stops these links from working.
Are you saying that we need to run the test with all four values (unset buttons t nil)?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because your review was requested.Message ID: ***@***.***>
|
Easy to fix. Update tomorrow. |
Looping over the possible values, repeating the test. PTAL. |
rswgnu
left a comment
There was a problem hiding this comment.
How are you trsting that the action key actually opens the link properly if that is the function you are mocking?
you are not trying to test that the variable is set right but to see if setting it affects recognition and execution of the button, i.e. runs the right action.
These are unit test that verifies |
|
Approved.
|
What
Tests for org-links outside of org-mode.
Why
There was a bug here where
hsys-org-enable-smart-keyswouldinterfere with the org-links which is should not. It is only
applicable within
org-mode. A fix for that has already been pushed.