Fossil SCM

Renamed the test-* wrapper for the new JSON array serializer to better match its internal implementation function. NFC.

wyoung 2021-06-22 03:52 fossil-spawn
Commit 06d27250d5228c13faef90cc0f348fe87db0b4b457520642f03919a773a9fec0
1 file changed +2 -2
+2 -2
--- src/db.c
+++ src/db.c
@@ -4493,16 +4493,16 @@
44934493
g.repositoryOpen = 0;
44944494
g.localOpen = 0;
44954495
}
44964496
44974497
/*
4498
-** COMMAND: test-json-carray
4498
+** COMMAND: test-json-serialize-array
44994499
**
45004500
** Serializes the passed arguments as a JSON array of strings, proving that
45014501
** the JSON1 and Carray SQLite extensions are cooperating.
45024502
*/
4503
-void test_json_carray_cmd(void){
4503
+void test_json_serialize_array_cmd(void){
45044504
fossil_print("%s\n", json_serialize_array(g.argv+2, g.argc-2));
45054505
}
45064506
45074507
/*
45084508
** Serializes the passed array as a JSON array of strings.
45094509
--- src/db.c
+++ src/db.c
@@ -4493,16 +4493,16 @@
4493 g.repositoryOpen = 0;
4494 g.localOpen = 0;
4495 }
4496
4497 /*
4498 ** COMMAND: test-json-carray
4499 **
4500 ** Serializes the passed arguments as a JSON array of strings, proving that
4501 ** the JSON1 and Carray SQLite extensions are cooperating.
4502 */
4503 void test_json_carray_cmd(void){
4504 fossil_print("%s\n", json_serialize_array(g.argv+2, g.argc-2));
4505 }
4506
4507 /*
4508 ** Serializes the passed array as a JSON array of strings.
4509
--- src/db.c
+++ src/db.c
@@ -4493,16 +4493,16 @@
4493 g.repositoryOpen = 0;
4494 g.localOpen = 0;
4495 }
4496
4497 /*
4498 ** COMMAND: test-json-serialize-array
4499 **
4500 ** Serializes the passed arguments as a JSON array of strings, proving that
4501 ** the JSON1 and Carray SQLite extensions are cooperating.
4502 */
4503 void test_json_serialize_array_cmd(void){
4504 fossil_print("%s\n", json_serialize_array(g.argv+2, g.argc-2));
4505 }
4506
4507 /*
4508 ** Serializes the passed array as a JSON array of strings.
4509

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button