diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-03-21 14:50:55 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-03-21 14:50:55 +0100 |
commit | fdeeb396c7c2c9a6618661e2ea5d24b999a0e42f (patch) | |
tree | 7da88b00c9b2f7806ecd039fb3b7f4d9e8669f7c /test | |
parent | d654ab86bde598072d6b8e6a4ca398198bfb9882 (diff) |
manually(!) apply stephan monnier's patch, save the ts work
thanks stephan!
Diffstat (limited to 'test')
-rw-r--r-- | test/mastodon-auth-tests.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/mastodon-auth-tests.el b/test/mastodon-auth-tests.el index 2d9d6df..f2fe009 100644 --- a/test/mastodon-auth-tests.el +++ b/test/mastodon-auth-tests.el @@ -1,6 +1,8 @@ ;;; mastodon-auth-test.el --- Tests for mastodon-auth.el -*- lexical-binding: nil -*- (require 'el-mock) +(require 'mastodon) +(require 'mastodon-auth) (ert-deftest mastodon-auth--handle-token-response--good () "Should extract the access token from a good response." @@ -29,7 +31,7 @@ `(error ,(format "Mastodon-auth--access-token: invalid_grant: %s" error-message)) (condition-case error (mastodon-auth--handle-token-response - `(:error "invalid_grant" :error_description ,error-message)) + `(:error "Invalid_grant" :error_description ,error-message)) (t error)))))) (ert-deftest mastodon-auth--get-token () |