diff options
author | Sean Allred <code@seanallred.com> | 2015-01-07 20:04:21 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2015-01-07 20:04:21 -0500 |
commit | 461a0b63529f0185f1bbe86cb07e7f6cd88d2ef7 (patch) | |
tree | 80b20de62a65b4c56415f93815bee23ffb2dd108 /test | |
parent | 67581dc6879bdbf7b6da9210b092fa7a18d39e4d (diff) | |
parent | ab8ac65a7e22874cc4a56863e5aa9442c12cd0ae (diff) |
Merge branch 'master' into improve-comments
Conflicts:
test/test-printing.el
Diffstat (limited to 'test')
-rw-r--r-- | test/test-printing.el | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/test/test-printing.el b/test/test-printing.el index 10b1d06..7384829 100644 --- a/test/test-printing.el +++ b/test/test-printing.el @@ -133,3 +133,60 @@ after being run through `sx-question--tag-format'." '((answers . [something "answer"])))) (should (equal object '((answers . [something "answer"])))))) + +(ert-deftest sx-question-mode--fill-and-fontify () + "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... + +1. Click the \"Log in using Stack Exchange\" button: + + ![][1] + +2. Enter your username and password (yes, even if you *just did this* to log into, say, Stack Overflow) and press the \"Log In\" button: + + ![][2] + +3. Confirm the creation of the new account: + + ![][3] + + some code block + some code block + some code block + some code block + some code block + some code block + + [1]: http://i.stack.imgur.com/ktFTs.png + [2]: http://i.stack.imgur.com/5l2AY.png + [3]: http://i.stack.imgur.com/22myl.png") + "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: + + ![][1] + +2. Enter your username and password (yes, even if you *just did this* + to log into, say, Stack Overflow) and press the \"Log In\" button: + + ![][2] + +3. Confirm the creation of the new account: + + ![][3] + + some code block + some code block + some code block + some code block + some code block + some code block + + [1]: http://i.stack.imgur.com/ktFTs.png + [2]: http://i.stack.imgur.com/5l2AY.png + [3]: http://i.stack.imgur.com/22myl.png"))) |