aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-toot-tests.el
Commit message (Collapse)AuthorAgeFilesLines
* Hamonize tests.Holger Dürer2021-11-101-7/+18
| | | | | | | - Add a header comment explicitly switching off lexical binding - Harmonize naming (always start with module and double hyphen) - Ensure all tests have at least a minimal doc string. - Move tests from `mastodon-auth-test.el` to `mastodon-auth-tests.el`
* Reformatting `mastodon-search-tests.el`.Holger Dürer2021-11-101-3/+3
| | | | | - Remove redundant let binding of vars - Re-indent various things to better fit reasonably on a screen.
* Reformat all code.Holger Dürer2021-11-061-3/+3
| | | | | | | | | | | Basically, in Emacs for each file: select all text and `indent-region`. - This also removes one redundant comment, and - fixes an error with json decoding where the `json-read-from-string` was actually not within the intended `unless` clause (which explains the warning about "result of (string-equal "" json-string) will be ignored" which I never understood.
* Make the test less fragileJohnson Denen2019-03-041-1/+2
|
* Clean up whitespaceJohnson Denen2018-08-101-2/+2
|
* Retoot add accts closes #155Alexander Griffith2018-03-051-0/+39
| | | | | | | | | | | | | When responding to toots the full acct for both local and federated accounts are now added to the new toot buffer. Changes - Added a function in mastodon.el to return the current user acct - Added mastodon-toot--process-local, which takes an acct and appends the current server if it is local returns an empty string if the acct matches the current user and does only adds a prefix @ if the acct is federated - mastodon-toot--mentions will return a formatted string of mentions or an empty string - adds tests for mastodon-toot--mentions - adds a missing , in mastodon-http--post - `mastodon-toot--reply` now passes `mastodon-toot` a toot-id rather than the whole json - 'mastodon-toot--reply-to-id is now a local var in a new toot
* Clean up tests and update DOCSTRINGsJohnson Denen2017-04-231-19/+1
|
* Rewrite mastodon-authJohnson Denen2017-04-231-1/+1
| | | | | | - Remove client functions - Use mastodon-http--post - No more callback spaghetti
* Use Cask to run tests in TravisCIJohnson Denen2017-04-231-1/+0
|
* Add tests for mastodon-toot.el functionsJohnson Denen2017-04-101-0/+25