aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-11-06 14:40:30 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-11-06 14:40:30 +0000
commit6ff3660dedd1310709460ece74b6079f33e91c57 (patch)
tree294742fea2e0b1718448428ceab268f096b6f335 /test
parent2d076d9874800e0ab28ef1dd3d3d72e0a95a9f3d (diff)
Fix test regexp
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 c632adf..7f7395a 100644
--- a/test/tests.el
+++ b/test/tests.el
@@ -123,13 +123,13 @@
(goto-char (point-min))
(should (equal (buffer-name) "*question-list*"))
(line-should-match
- "^ 1 0 Focus-hook: attenuate colours when losing focus [ 0-9]+[ydhms] ago \\[frames\\] \\[hooks\\] \\[focus\\]")
+ "^\\s-+1\\s-+0\\s-+Focus-hook: attenuate colours when losing focus [ 0-9]+[ydhms] ago\\s-+\\[frames\\] \\[hooks\\] \\[focus\\]")
(stack-question-list-next 5)
(line-should-match
- "^ 0 1 Babel doesn&#39;t wrap results in verbatim [ 0-9]+[ydhms] ago \\[org-mode\\]")
+ "^\\s-+0\\s-+1\\s-+Babel doesn&#39;t wrap results in verbatim [ 0-9]+[ydhms] ago\\s-+\\[org-mode\\]")
(call-interactively 'stack-question-list-display-question)
(should (equal (buffer-name) "*stack-question*"))
(switch-to-buffer "*question-list*")
(stack-question-list-previous 4)
(line-should-match
- "^ 2 1 &quot;Making tag completion table&quot; Freezes/Blocks -- how to disable [ 0-9]+[ydhms] ago \\[autocomplete\\]")))
+ "^\\s-+2\\s-+1\\s-+&quot;Making tag completion table&quot; Freezes/Blocks -- how to disable [ 0-9]+[ydhms] ago\\s-+\\[autocomplete\\]")))