[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/subed f7f9fcf 226/389: Remove useless concat
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/subed f7f9fcf 226/389: Remove useless concat |
Date: |
Fri, 3 Dec 2021 11:00:31 -0500 (EST) |
branch: elpa/subed
commit f7f9fcfcb3bd08ce5315ca385ff8a65b84ddfa30
Author: Random User <rndusr@posteo.de>
Commit: Random User <rndusr@posteo.de>
Remove useless concat
---
tests/test-subed-srt.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/test-subed-srt.el b/tests/test-subed-srt.el
index 6ac6664..d4d83b4 100644
--- a/tests/test-subed-srt.el
+++ b/tests/test-subed-srt.el
@@ -424,7 +424,7 @@ Baz.
(expect (thing-at-point 'word) :to-equal nil)
(expect (subed-srt--forward-subtitle-id) :to-be nil))
(with-temp-buffer
- (insert (concat mock-srt-data))
+ (insert mock-srt-data)
(subed-srt--jump-to-subtitle-text 1)
(expect (thing-at-point 'word) :to-equal "Foo")
(expect (subed-srt--forward-subtitle-id) :to-be 39)
@@ -434,7 +434,7 @@ Baz.
(expect (subed-srt--forward-subtitle-id) :to-be 77)
(expect (thing-at-point 'word) :to-equal "3"))
(with-temp-buffer
- (insert (concat mock-srt-data))
+ (insert mock-srt-data)
(subed-srt--jump-to-subtitle-text 3)
(expect (thing-at-point 'word) :to-equal "Baz")
(expect (subed-srt--forward-subtitle-id) :to-be nil)
@@ -462,13 +462,13 @@ Baz.
(with-temp-buffer
(expect (subed-srt--backward-subtitle-id) :to-be nil))
(with-temp-buffer
- (insert (concat mock-srt-data))
+ (insert mock-srt-data)
(subed-srt--jump-to-subtitle-id 1)
(expect (thing-at-point 'word) :to-equal "1")
(expect (subed-srt--backward-subtitle-id) :to-be nil)
(expect (thing-at-point 'word) :to-equal "1"))
(with-temp-buffer
- (insert (concat mock-srt-data))
+ (insert mock-srt-data)
(subed-srt--jump-to-subtitle-text 1)
(expect (thing-at-point 'word) :to-equal "Foo")
(expect (subed-srt--backward-subtitle-id) :to-be nil)
- [nongnu] elpa/subed 9fc0cbf 200/389: Remove mpv socket when stopping mpv, (continued)
- [nongnu] elpa/subed 9fc0cbf 200/389: Remove mpv socket when stopping mpv, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 49e73c7 209/389: mark variable as unused with leading underscore, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 4195590 189/389: (unless ...) instead of (when (not ...) ...), ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 8c3651f9 184/389: Remove alpha warning, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed a42ba17 220/389: Simplify subed-srt--subtitle-kill, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed cefb54b 194/389: (unless ...) instead of (when (not ...) ...), ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 769718c 212/389: Fix test for re-enabling point-to-player syncing, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 6d53418 224/389: Add test for killing non-last subtitle, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed e621108 219/389: Adjust subtitle killing test descriptions, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 06e9ce9 227/389: Make group in regexp-separator shy, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed f7f9fcf 226/389: Remove useless concat,
ELPA Syncer <=
- [nongnu] elpa/subed 6e5a127 231/389: declare variables and functions that subed.el defines, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 56b2ff2 232/389: Move most of the insertion complexity to subed.el, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed d3bc655 234/389: Update subed-default-subtitle-length docstring, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed a1c150b 235/389: Update subed-subtitle-spacing docstring, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 43e8e91 236/389: Fix insert test, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed c84e5cb 233/389: Rename *-subtitle-kill to *-kill-subtitle, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 5f803d5 244/389: Add some missing tests, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed aae6f0c 123/389: Add function: subed-srt--run-subtitle-time-adjusted-hook, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed b912311 128/389: Do not sync point to player if region is active, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed f95e914 132/389: Remove old junk code, ELPA Syncer, 2021/12/03