diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Id.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Id.hs index dc958f0170..83d2f3114d 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Id.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Id.hs @@ -20,4 +20,11 @@ hprop_golden_shelley_transaction_id = propertyOnce $ do output1 <- execCardanoCLI baseCmd goldenFile1 <- H.note "test/cardano-cli-golden/files/golden/shelley/transaction-id-flagless" - H.diffVsGoldenFile output1 goldenFile1 \ No newline at end of file + H.diffVsGoldenFile output1 goldenFile1 + + output2 <- execCardanoCLI $ baseCmd ++ ["--output-text"] + H.diffVsGoldenFile output2 goldenFile1 + + output3 <- execCardanoCLI $ baseCmd ++ ["--output-json"] + goldenFile2 <- H.note "test/cardano-cli-golden/files/golden/shelley/transaction-id.json" + H.diffVsGoldenFile output3 goldenFile2 \ No newline at end of file