Fossil SCM
Renamed the test-* wrapper for the new JSON array serializer to better match its internal implementation function. NFC.
Commit
06d27250d5228c13faef90cc0f348fe87db0b4b457520642f03919a773a9fec0
Parent
ead1432af9b5288…
1 file changed
+2
-2
M
src/db.c
+2
-2
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -4493,16 +4493,16 @@ | ||
| 4493 | 4493 | g.repositoryOpen = 0; |
| 4494 | 4494 | g.localOpen = 0; |
| 4495 | 4495 | } |
| 4496 | 4496 | |
| 4497 | 4497 | /* |
| 4498 | -** COMMAND: test-json-carray | |
| 4498 | +** COMMAND: test-json-serialize-array | |
| 4499 | 4499 | ** |
| 4500 | 4500 | ** Serializes the passed arguments as a JSON array of strings, proving that |
| 4501 | 4501 | ** the JSON1 and Carray SQLite extensions are cooperating. |
| 4502 | 4502 | */ |
| 4503 | -void test_json_carray_cmd(void){ | |
| 4503 | +void test_json_serialize_array_cmd(void){ | |
| 4504 | 4504 | fossil_print("%s\n", json_serialize_array(g.argv+2, g.argc-2)); |
| 4505 | 4505 | } |
| 4506 | 4506 | |
| 4507 | 4507 | /* |
| 4508 | 4508 | ** Serializes the passed array as a JSON array of strings. |
| 4509 | 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-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 |