emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/diff-hl d200f1c0ae 3/5: Fix the test diff-hl-can-split-


From: ELPA Syncer
Subject: [elpa] externals/diff-hl d200f1c0ae 3/5: Fix the test diff-hl-can-split-away-no-trailing-newline
Date: Sun, 21 Jan 2024 00:57:43 -0500 (EST)

branch: externals/diff-hl
commit d200f1c0ae09b49e788f70439a2ece2a6a8cbae1
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>

    Fix the test diff-hl-can-split-away-no-trailing-newline
    
    Corresponding to the commit ee1c8993.
    
    Closes #208
---
 test/diff-hl-test.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/diff-hl-test.el b/test/diff-hl-test.el
index 4aaedc719d..d255f0a147 100644
--- a/test/diff-hl-test.el
+++ b/test/diff-hl-test.el
@@ -1,6 +1,6 @@
 ;;; diff-hl-test.el --- tests for diff-hl -*- lexical-binding: t -*-
 
-;; Copyright (C) 2020, 2021  Free Software Foundation, Inc.
+;; Copyright (C) 2020-2024  Free Software Foundation, Inc.
 
 ;; Author:   Nathan Moreau <nathan.moreau@m4x.org>
 
@@ -182,7 +182,8 @@
         (let ((inhibit-read-only t))
           (diff-hl-split-away-changes 3))
         (should (equal (buffer-substring (point) (point-max))
-                       "\x20
+                       "@@ -9,2 +9,2 @@
+\x20
 -last line
 +last line
 \\ No newline at end of file



reply via email to

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