You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java-bigquery/google-cloud-bigquery-jdbc/src/test/java/com/google/cloud/bigquery/jdbc/it/ITBigQueryJDBCTest.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -309,7 +309,7 @@ public void testInvalidQuery() throws SQLException {
309
309
bigQueryStatement.executeQuery(query);
310
310
Assertions.fail();
311
311
} catch (BigQueryJdbcExceptione) {
312
-
assertTrue(e.getMessage().contains("SELECT * must have a FROM clause"));
312
+
assertTrue(e.getCause().getMessage().contains("SELECT * must have a FROM clause"));
0 commit comments