aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2024-06-23 15:35:19 +0200
committerJonas Bernoulli <jonas@bernoul.li>2024-06-23 15:35:19 +0200
commit196abe727054a440bf6262c5c254ad4565cbaa66 (patch)
tree14ccce8b6aa3b8f837c1413958f0412500683470 /test
parentbe549268313bdcc6008285312a4ac5367d3b4402 (diff)
Use string-join instead of mapconcat
Diffstat (limited to 'test')
-rw-r--r--test/magit-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/magit-tests.el b/test/magit-tests.el
index 4e0027c..310a3b1 100644
--- a/test/magit-tests.el
+++ b/test/magit-tests.el
@@ -68,7 +68,7 @@
(push (buffer-substring-no-properties (point) to) chunks))
(goto-char to)
(< (point) (point-max))))
- (let ((result (mapconcat #'identity (nreverse chunks) nil)))
+ (let ((result (string-join (nreverse chunks))))
(unless raw
(setq result (string-trim result)))
result))))