Skip to content

Commit

Permalink
minor test typo (ex -> ex2)
Browse files Browse the repository at this point in the history
SQUASH
  • Loading branch information
pranav-super committed Oct 17, 2024
1 parent 47bf6ad commit 8ed9389
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1666,10 +1666,10 @@ void endTimeGEstartTime() throws SQLException {

// if start time = end time, error
final SQLException ex2 = assertThrows(PSQLException.class, () -> insertExternalSource(failing2));
if (!ex.getSQLState().equals("23514")
&& !ex.getMessage().contains("new row for relation \"external_source\" violates check constraint "
if (!ex2.getSQLState().equals("23514")
&& !ex2.getMessage().contains("new row for relation \"external_source\" violates check constraint "
+ "\"external_source_check\"")) {
throw ex;
throw ex2;
}

// else, no error
Expand Down

0 comments on commit 8ed9389

Please sign in to comment.