summaryrefslogtreecommitdiff
path: root/src/json_ui.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-04-29 23:05:46 +1000
committerMaxime Coste <mawww@kakoune.org>2018-04-29 23:06:24 +1000
commite4f90e5ed2645895576af4f13a6213e95d1bf605 (patch)
tree24b4d02bcd40dd846cef8d2c67b54a8d7030bcf6 /src/json_ui.cc
parentbcecb2f8772fa28aeafc476b98fbdcb09521f73e (diff)
Fix tests after changes to json_ui output
Diffstat (limited to 'src/json_ui.cc')
-rw-r--r--src/json_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json_ui.cc b/src/json_ui.cc
index 6381cd74..f58cbbc5 100644
--- a/src/json_ui.cc
+++ b/src/json_ui.cc
@@ -20,7 +20,7 @@ namespace Kakoune
template<typename T>
String to_json(ArrayView<const T> array)
{
- return "[" + join(array | transform([](auto&& elem) { return to_json(elem); }), ',', false) + "]";
+ return "[" + join(array | transform([](auto&& elem) { return to_json(elem); }), ", ") + "]";
}
template<typename T, MemoryDomain D>