aboutsummaryrefslogtreecommitdiff
path: root/test/test-printing.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-01-26 14:53:09 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-01-26 14:53:09 -0200
commitb413d048be63e2981e1d1069d86c83de0ed1ef87 (patch)
treec0d2e8a9e2c50b38efa6f98ef44f4700a8ebcaab /test/test-printing.el
parenta359f7cca7751372437b853fc648081acffc5b63 (diff)
parented319f4c196866685ed75c3eca3edaead3173bfe (diff)
Merge branch 'images' into handle-html-tags
Diffstat (limited to 'test/test-printing.el')
-rw-r--r--test/test-printing.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test-printing.el b/test/test-printing.el
index 52fe5be..a6815e2 100644
--- a/test/test-printing.el
+++ b/test/test-printing.el
@@ -13,7 +13,7 @@
(defmacro question-list-regex (title votes answers &rest tags)
"Construct a matching regexp for TITLE, VOTES, and ANSWERS.
Each element of TAGS is appended at the end of the expression
-after being run through `sx-question--tag-format'."
+after being run through `sx-tag--format'."
`(rx line-start
(+ whitespace) ,(number-to-string votes)
(+ whitespace) ,(number-to-string answers)
@@ -22,8 +22,7 @@ after being run through `sx-question--tag-format'."
(+ (any whitespace digit))
(or "y" "d" "h" "m" "mo" "s") " ago"
(+ whitespace)
- (eval (mapconcat #'sx-question--tag-format
- (list ,@tags) " "))))
+ (eval (mapconcat #'sx-tag--format (list ,@tags) " "))))
;;; Tests