Skip to content

Commit

Permalink
always throw new assertion error on test case diagnosis
Browse files Browse the repository at this point in the history
  • Loading branch information
texadactyl committed Dec 29, 2024
1 parent 32f2d69 commit fd25019
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This file is a version history of jacotest amendments. Entries appear in versio
| `Date` | `Version` | `Contents` |
| :------------: | :---: | :--- |
|<img width=90/>|<img width=60/>|<img width=600/>|
| 2024-12-29 | 3.4.38 | New test case: crypto-salsa must throw new AssertionError. |
| 2024-12-28 | 3.4.37 | New test case: crypto-salsa. |
| 2024-12-19 | 3.4.36 | New ERROR_CATEGORIES.txt entry: GetMethInfoFromCPmethref. |
| | | Added test case iinc-iadd-isub. |
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.4.37
v3.4.38
3 changes: 1 addition & 2 deletions tests/crypto-salsa/main.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ public static void main(String[] args) {

// Check final result.
if(plaintext2.compareTo(plaintext) != 0) {
System.out.println("*** ERROR, the decrypted plaintext is not the same as the original plaintext!");
System.exit(1);
throw new AssertionError("*** ERROR, the decrypted plaintext is not the same as the original plaintext!");
}
System.out.println("Success! The decrypted plaintext is the same as the original plaintext.");

Expand Down

0 comments on commit fd25019

Please sign in to comment.