aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-12-11 11:36:02 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-12-11 11:39:47 +0000
commit7dc4e4f83599ba9ee3ca1af9efd8e8ce9112316c (patch)
treeff797be1830454dbc93842ac15980a6cbb05ceab /test
parent36ae5019aa6d1cae3cab9e3330591e227b427814 (diff)
Fix unrelated test
Diffstat (limited to 'test')
-rw-r--r--test/tests.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tests.el b/test/tests.el
index 8d1ba44..5d60848 100644
--- a/test/tests.el
+++ b/test/tests.el
@@ -106,17 +106,17 @@
(goto-char (point-min))
(should (equal (buffer-name) "*question-list*"))
(line-should-match
- "^\\s-+1\\s-+0\\s-+Focus-hook: attenuate colours when losing focus [ 0-9]+[ydhms] ago\\s-+\\[frames\\] \\[hooks\\] \\[focus\\]")
+ "^\\s-+1\\s-+0\\s-+Focus-hook: attenuate colours when losing focus [ 0-9]+[ydhms]o? ago\\s-+\\[frames\\] \\[hooks\\] \\[focus\\]")
(sx-question-list-next 5)
(line-should-match
- "^\\s-+0\\s-+1\\s-+Babel doesn&#39;t wrap results in verbatim [ 0-9]+[ydhms] ago\\s-+\\[org-mode\\]")
+ "^\\s-+0\\s-+1\\s-+Babel doesn&#39;t wrap results in verbatim [ 0-9]+[ydhms]o? ago\\s-+\\[org-mode\\]")
;; ;; Use this when we have a real sx-question buffer.
;; (call-interactively 'sx-question-list-display-question)
;; (should (equal (buffer-name) "*sx-question*"))
(switch-to-buffer "*question-list*")
(sx-question-list-previous 4)
(line-should-match
- "^\\s-+2\\s-+1\\s-+&quot;Making tag completion table&quot; Freezes/Blocks -- how to disable [ 0-9]+[ydhms] ago\\s-+\\[autocomplete\\]")))
+ "^\\s-+2\\s-+1\\s-+&quot;Making tag completion table&quot; Freezes/Blocks -- how to disable [ 0-9]+[ydhms]o? ago\\s-+\\[autocomplete\\]")))
(ert-deftest macro-test--sx-assoc-let ()
"Tests macro expansion for `sx-assoc-let'"