Skip to content

Commit

Permalink
transaction id: test new flags
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Jan 6, 2025
1 parent 6b580f8 commit 1889598
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
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

0 comments on commit 1889598

Please sign in to comment.