Skip to content

Commit

Permalink
ScriptTest: Print failing test from tx_invalid.json.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schildbach authored and ripcurlx committed Aug 17, 2021
1 parent 9c7e6f2 commit 46cdd7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/test/java/org/bitcoinj/script/ScriptTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,10 @@ public void dataDrivenInvalidTransactions() throws Exception {
}
}

if (valid)
if (valid) {
System.out.println(test);
fail();
}
}
}

Expand Down

0 comments on commit 46cdd7d

Please sign in to comment.