test(config): add JSON round-trip test for environment config map

This commit is contained in:
2026-05-12 13:00:31 +01:00
parent ff12eb1cb1
commit 4beb769a2b
2 changed files with 22 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@ func RunConvert(args []string, stdin io.Reader, stdout, stderr io.Writer) int {
ctx := context.Background()
var m map[string]any
var err error
if *input == "environ" {
if *from != "env" {
_, _ = fmt.Fprintln(stderr, "convert: --input environ only works with --from env")