TestExtractNestedArg_EmptyArgs returns empty without panic.
(t *testing.T)
| 138 | |
| 139 | // TestExtractNestedArg_EmptyArgs returns empty without panic. |
| 140 | func TestExtractNestedArg_EmptyArgs(t *testing.T) { |
| 141 | assert.Empty(t, extractNestedArg(nil, "cmd")) |
| 142 | assert.Empty(t, extractNestedArg([]string{}, "cmd")) |
| 143 | } |
| 144 | |
| 145 | // TestExtractNestedArg_MalformedJSONFallsBack ensures broken JSON |
| 146 | // doesn't crash; helper falls through to the flag-style scan. |
nothing calls this directly
no test coverage detected