/
githubmirror
/
libfastjson
Обзор
Документация
Войти
/
githubmirror
/
libfastjson
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/testReplaceExisting.test
12 строк
225 B
Eric Haszlakiewicz
Rewrite json_object_object_add to replace just the value if the key already exists so keys remain valid.
25 июл 2012, 08:27
25 июл 2012, 08:27
6988f53
Код
Авторство
О чём код?
#!/bin/sh # Common definitions if test -z "$srcdir"; then srcdir="${0%/*}" test "$srcdir" = "$0" && srcdir=. test -z "$srcdir" && srcdir=. fi . "$srcdir/test-defs.sh" run_output_test testReplaceExisting exit $?