Commit 1f6898d0 authored by Dmitry Gutov's avatar Dmitry Gutov
Browse files

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
parent 3adb56e7
......@@ -34,8 +34,7 @@
(should (equal (vc-hg-annotate-extract-revision-at-line)
(cons
"215"
(expand-file-name "test/automated/CONTENTS"
source-directory))))))
(expand-file-name "CONTENTS"))))))
(ert-deftest vc-hg-annotate-extract-revision-at-line-with-user ()
(with-temp-buffer
......@@ -49,8 +48,7 @@
(should (equal (vc-hg-annotate-extract-revision-at-line)
(cons
"218075"
(expand-file-name "test/automated/CLOBBER"
source-directory))))))
(expand-file-name "CLOBBER"))))))
(ert-deftest vc-hg-annotate-time ()
(with-temp-buffer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment