aboutsummaryrefslogtreecommitdiff
path: root/test/test-printing.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-01-26 14:52:54 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-01-26 14:52:54 -0200
commited319f4c196866685ed75c3eca3edaead3173bfe (patch)
tree936a4798b23bce996fbe32c67780c8b6dd7690c0 /test/test-printing.el
parentd53dc5e22d6ebd7905c194b9dcd006e763a1aa3d (diff)
parent6f83f1ef10f1316b489eba926aebecb51f37a6e7 (diff)
Merge branch 'tag-buttons' into images
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