branch: elpa/subed commit 66889a1713760d65094ae8954ed4f718ca047fec Author: Random User <rnd...@posteo.de> Commit: Random User <rnd...@posteo.de>
Fix test: Renumbering does not modify the kill-ring --- tests/test-subed-srt.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-subed-srt.el b/tests/test-subed-srt.el index 3a13f88..b2a2008 100644 --- a/tests/test-subed-srt.el +++ b/tests/test-subed-srt.el @@ -1408,9 +1408,9 @@ Baz. (kill-new "asdf") (goto-char (point-min)) (while (looking-at "^[0-9]$") - (replace-match "555")) + (insert "555")) (subed-srt--regenerate-ids) - (expect (buffer-string) :to-equal mock-srt-data)))) + (expect (car kill-ring) :to-equal "asdf")))) (describe "Sorting" (it "orders subtitles by start time."