emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] emacs-25 c71e1e8: Use short date for 'hg annotate', a


From: Ken Brown
Subject: Re: [Emacs-diffs] emacs-25 c71e1e8: Use short date for 'hg annotate', and output the author
Date: Sun, 10 Jan 2016 12:40:54 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0

On 1/9/2016 8:13 PM, Dmitry Gutov wrote:
> +(ert-deftest vc-hg-annotate-extract-revision-at-line-with-filename ()
> +  ;; with filename
> +  (with-temp-buffer
> +    (save-excursion (insert "215 2007-06-20 CONTENTS:"))
> +    (should (equal (vc-hg-annotate-extract-revision-at-line)
> +                   (cons
> +                    "215"
> +                    (expand-file-name "test/automated/CONTENTS"
> +                                      source-directory))))))
> +

[...]

> +(ert-deftest vc-hg-annotate-extract-revision-at-line-with-both ()
> +  (with-temp-buffer
> +    (save-excursion (insert "philringnalda 218075 2014-11-28 CLOBBER:"))
> +    (should (equal (vc-hg-annotate-extract-revision-at-line)
> +                   (cons
> +                    "218075"
> +                    (expand-file-name "test/automated/CLOBBER"
> +                                      source-directory))))))

These two tests fail on an out-of-tree build.

Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]