1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-27 16:07:42 +08:00

config set: test setting with null & not-defined parent

This adds a failing for the case described in #1561

License: MIT
Signed-off-by: Stephan Seidt <evilhackerdude@gmail.com>
This commit is contained in:
Stephan Seidt
2015-08-12 10:19:09 +02:00
committed by rht
parent 978c9fa16f
commit afbdedb469

View File

@ -57,6 +57,9 @@ test_config_cmd() {
test_config_cmd_set "--json" "beep3" "true" test_config_cmd_set "--json" "beep3" "true"
test_config_cmd_set "--json" "beep3" "false" test_config_cmd_set "--json" "beep3" "false"
test_config_cmd_set "--json" "Discovery" "$CONFIG_SET_JSON_TEST" test_config_cmd_set "--json" "Discovery" "$CONFIG_SET_JSON_TEST"
test_config_cmd_set "--json" "deep-not-defined.prop" "true"
test_config_cmd_set "--json" "deep-null" "null"
test_config_cmd_set "--json" "deep-null.prop" "true"
} }