aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-media-tests.el
Commit message (Collapse)AuthorAgeFilesLines
* Catch any errors thrown during url-retrieve.Holger Dürer2017-06-191-0/+18
| | | | | On Emacs24 I've been able to reliably fail url fetching which exposed issues in loading a timeline (it aborts the loading). This catches any errors, marking the image load as failed so that we won't retry (retries are a TODO item I guess) and then succeeds the function so the rest of the timeline loading can proceed.
* Remove most byte-compile warnings.Holger Dürer2017-05-181-10/+10
| | | | | | | We do this by - moving vars into the files where they are (mostly) used - "declaring" vars used elsewhere with the (defvar <var-name>) pattern, - declaring functions defined in others functions rather than loading the file via require.
* Add tests for mastodon-media.elHolger Dürer2017-05-121-0/+179
This also includes tweaks to make Travis happy — tests previously did pass on my laptop but Travis's environment is different.