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 committed Mar 7, 2021
1 parent ffb02ae commit 27eaa02
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 @@ -435,8 +435,10 @@ public void dataDrivenInvalidTransactions() throws Exception {
}
}

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

Expand Down

0 comments on commit 27eaa02

Please sign in to comment.