Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Appease Codacy
  • Loading branch information
manticore-projects committed Jul 18, 2022
commit 56ee19432aa80f9c70e52bdb74f6ae8e86e06a66
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ public void testTimeOutIssue1582() throws InterruptedException {
// With DEFAULT TIMEOUT 6 Seconds, we expect the statement to timeout normally
// A TimeoutException wrapped into a Parser Exception should be thrown

Assertions.assertThrows(TimeoutException.class, new Executable() {
assertThrows(TimeoutException.class, new Executable() {
@Override
public void execute() throws Throwable {
try {
Expand All @@ -314,7 +314,7 @@ public void execute() throws Throwable {
// With custom TIMEOUT 60 Seconds, we expect the statement to not timeout but to fail instead
// No TimeoutException wrapped into a Parser Exception must be thrown
// Instead we expect a Parser Exception only
Assertions.assertThrows(JSQLParserException.class, new Executable() {
assertThrows(JSQLParserException.class, new Executable() {
@Override
public void execute() throws Throwable {
try {
Expand Down