diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-03-02 22:09:35 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-03-02 22:09:35 +0000 |
commit | 1728fbc1873171777bdd351b9c177720c1e048b2 (patch) | |
tree | d8afc76de3558a1d2539aeec04c9826d84faa01d /test/test-printing.el | |
parent | 15f8ff56312f16f79a2520c08a184f8d79732d1f (diff) | |
parent | 1e8299a933e115c41d81f00948074085d961e47c (diff) |
Merge pull request #260 from vermiculus/print-question-without-temp-buffer
Print question without temp buffer + async images!
Diffstat (limited to 'test/test-printing.el')
-rw-r--r-- | test/test-printing.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test-printing.el b/test/test-printing.el index 8016444..850edd8 100644 --- a/test/test-printing.el +++ b/test/test-printing.el @@ -167,8 +167,9 @@ after being run through `sx-tag--format'." "Check complicated questions are filled correctly." (should (equal - (sx-question-mode--fill-and-fontify - "Creating an account on a new site requires you to log into that site using *the same credentials you used on existing sites.* For instance, if you used the Stack Exchange login method, you'd... + (with-temp-buffer + (sx-question-mode--insert-markdown + "Creating an account on a new site requires you to log into that site using *the same credentials you used on existing sites.* For instance, if you used the Stack Exchange login method, you'd... 1. Click the \"Log in using Stack Exchange\" button: @@ -192,6 +193,7 @@ after being run through `sx-tag--format'." [1]: http://i.stack.imgur.com/ktFTs.png [2]: http://i.stack.imgur.com/5l2AY.png [3]: http://i.stack.imgur.com/22myl.png") + (buffer-string)) "Creating an account on a new site requires you to log into that site using *the same credentials you used on existing sites.* For instance, if you used the Stack Exchange login method, you'd... |