aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2016-01-12 00:17:49 +0300
committerDmitry Gutov2016-01-12 00:17:49 +0300
commit1f6898d0510cd15455f665c0f38451755a374243 (patch)
tree28e4bb8feb8ab834646d9fddcfdffab5355bf612
parent3adb56e7b2565ff7502bf0e9fb71eba0f82959ac (diff)
downloademacs-1f6898d0510cd15455f665c0f38451755a374243.tar.gz
emacs-1f6898d0510cd15455f665c0f38451755a374243.zip
test/automated/vc-hg.el: Support out-of-tree build
* test/automated/vc-hg.el (vc-hg-annotate-extract-revision-at-line-with-filename) (vc-hg-annotate-extract-revision-at-line-with-both): Don't refer to source-directory. http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00755.html
-rw-r--r--test/automated/vc-hg.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/automated/vc-hg.el b/test/automated/vc-hg.el
index 68282713a8a..ba966598c4d 100644
--- a/test/automated/vc-hg.el
+++ b/test/automated/vc-hg.el
@@ -34,8 +34,7 @@
34 (should (equal (vc-hg-annotate-extract-revision-at-line) 34 (should (equal (vc-hg-annotate-extract-revision-at-line)
35 (cons 35 (cons
36 "215" 36 "215"
37 (expand-file-name "test/automated/CONTENTS" 37 (expand-file-name "CONTENTS"))))))
38 source-directory))))))
39 38
40(ert-deftest vc-hg-annotate-extract-revision-at-line-with-user () 39(ert-deftest vc-hg-annotate-extract-revision-at-line-with-user ()
41 (with-temp-buffer 40 (with-temp-buffer
@@ -49,8 +48,7 @@
49 (should (equal (vc-hg-annotate-extract-revision-at-line) 48 (should (equal (vc-hg-annotate-extract-revision-at-line)
50 (cons 49 (cons
51 "218075" 50 "218075"
52 (expand-file-name "test/automated/CLOBBER" 51 (expand-file-name "CLOBBER"))))))
53 source-directory))))))
54 52
55(ert-deftest vc-hg-annotate-time () 53(ert-deftest vc-hg-annotate-time ()
56 (with-temp-buffer 54 (with-temp-buffer