test(invocation): adds schema round-trip test

This commit is contained in:
Steve Moyer
2024-11-05 08:39:43 -05:00
parent 1b61f2e4db
commit 08f821f23d
4 changed files with 140 additions and 2 deletions

View File

@@ -139,8 +139,6 @@ func prettyDAGJSON(data []byte) (string, error) {
return "", err
}
fmt.Println(string(jsonData))
var out bytes.Buffer
if err := json.Indent(&out, jsonData, "", " "); err != nil {
return "", err