aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 22:01:17 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 22:01:17 -0200
commitdc4d2bee678428eb004d963bd21e08a347ef622e (patch)
treee78efea0582fd27dcb9b4bad051712b9ab75990f /test
parent66af19c7df5b1ef2d3252593b4eb33a101dc1582 (diff)
Fix test
Diffstat (limited to 'test')
-rw-r--r--test/test-printing.el6
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...