Skip to content

Commit 56ee194

Browse files
Appease Codacy
1 parent ceb9b20 commit 56ee194

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/net/sf/jsqlparser/parser/CCJSqlParserUtilTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ public void testTimeOutIssue1582() throws InterruptedException {
295295
// With DEFAULT TIMEOUT 6 Seconds, we expect the statement to timeout normally
296296
// A TimeoutException wrapped into a Parser Exception should be thrown
297297

298-
Assertions.assertThrows(TimeoutException.class, new Executable() {
298+
assertThrows(TimeoutException.class, new Executable() {
299299
@Override
300300
public void execute() throws Throwable {
301301
try {
@@ -314,7 +314,7 @@ public void execute() throws Throwable {
314314
// With custom TIMEOUT 60 Seconds, we expect the statement to not timeout but to fail instead
315315
// No TimeoutException wrapped into a Parser Exception must be thrown
316316
// Instead we expect a Parser Exception only
317-
Assertions.assertThrows(JSQLParserException.class, new Executable() {
317+
assertThrows(JSQLParserException.class, new Executable() {
318318
@Override
319319
public void execute() throws Throwable {
320320
try {

0 commit comments

Comments
 (0)