Skip to content

Commit 704f8a5

Browse files
committed
feat: optimize the test
1 parent 90436f5 commit 704f8a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/src/test/java/org/tron/core/zksnark/ShieldedReceiveTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public void testBroadcastBeforeAllowZksnark()
312312
boolean res = dbManager.pushTransaction(transactionCap);
313313
Assert.assertFalse(res);
314314
} catch (Exception e) {
315-
Assert.assertFalse(true);
315+
Assert.fail(e.getMessage());
316316
}
317317
}
318318

0 commit comments

Comments
 (0)