From 1889598594a2b657a783b12214159b0da54cf5be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Mon, 6 Jan 2025 21:45:11 +0100 Subject: [PATCH] transaction id: test new flags --- .../Test/Golden/Shelley/Transaction/Id.hs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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