mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-27 10:54:40 +00:00
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
This commit is contained in:
parent
3adb56e7b2
commit
1f6898d051
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user