summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVitalie Spinu <spinuvit@gmail.com>2018-05-12 13:30:48 +0200
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2018-05-13 19:28:48 +0300
commitff3bfa2642cfcd4eb5f2756280ea057dc69f8aff (patch)
tree7d68939d22928944ae94d2b390ffeaf555b5d63e /test
parent739289347b3f173d3044de5b411d498fe8c77c2d (diff)
Use line-move instead of previous-line for emacs24.5 tests
Diffstat (limited to 'test')
-rw-r--r--test/cider-repl-tests.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cider-repl-tests.el b/test/cider-repl-tests.el
index 729c8cf5..b3bb9a3a 100644
--- a/test/cider-repl-tests.el
+++ b/test/cider-repl-tests.el
@@ -183,7 +183,7 @@ PROPERTY shoudl be a symbol of either 'text, 'ansi-context or
(expect (cider-locref-at-point)
:to-equal
'(:type aviso-stacktrace :highlight (121 . 213) :var "clojure.tools.nrepl.middleware.interruptible-eval" :file "interruptible_eval.clj" :line 190))
- (previous-line)
+ (line-move -1)
(expect (cider-locref-at-point)
:to-equal
'(:type aviso-stacktrace :highlight (26 . 107) :var "java.util.concurrent.ThreadPoolExecutor" :file "ThreadPoolExecutor.java" :line 624))))
@@ -195,7 +195,7 @@ PROPERTY shoudl be a symbol of either 'text, 'ansi-context or
(expect (cider-locref-at-point)
:to-equal
'(:type timbre-log :highlight (138 . 148) :var "errors" :file nil :line 8))
- (previous-line)
+ (line-move -1)
(expect (cider-locref-at-point)
:to-equal
'(:type timbre-log :highlight (85 . 95) :var "errors" :file nil :line 8))))