Skip to content

Commit 17878bb

Browse files
committed
Fixup
1 parent 0e84a02 commit 17878bb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/test/java/com/salesforce/datacloud/jdbc/core/JDBCLimitsTest.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ public void testLargeQuery() {
4646
public void testTooLargeQuery() {
4747
String query = "SELECT 'a', /*" + StringUtils.repeat('x', 65 * 1024 * 1024) + "*/ 'b'";
4848
assertWithStatement(statement -> {
49-
assertThatExceptionOfType(DataCloudJDBCException.class).isThrownBy(() -> {
50-
statement.executeQuery(query);
51-
});
49+
assertThatExceptionOfType(DataCloudJDBCException.class)
50+
.isThrownBy(() -> {
51+
statement.executeQuery(query);
52+
})
53+
.withMessageEndingWith("<truncated>");
5254
});
5355
}
5456

0 commit comments

Comments
 (0)