From 1f6898d0510cd15455f665c0f38451755a374243 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Tue, 12 Jan 2016 00:17:49 +0300 Subject: [PATCH] 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 --- test/automated/vc-hg.el | 6 ++---- 1 file 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 @@ (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 -- 2.39.2