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:
@ -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"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user