changeset 646:1db097f11e28

Add printing missing newlines when a failure us detected.
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Thu, 31 Mar 2022 20:02:24 +0200 (2022-03-31)
parents fbed03097738
children 8d7c75cc01e3
files tests/JDBC_API_Tester.java
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tests/JDBC_API_Tester.java
+++ b/tests/JDBC_API_Tester.java
@@ -699,7 +699,7 @@ final public class JDBC_API_Tester {
 			if (response != Statement.SUCCESS_NO_INFO)
 				sb.append("Creating table ").append(tablename).append(" failed to return -2!! It returned: ").append(response).append("\n");
 		} catch (SQLException e) {
-			sb.append("failed to create test table ").append(tablename).append(": ").append(e.getMessage());
+			sb.append("failed to create test table ").append(tablename).append(": ").append(e.getMessage()).append("\n");
 		}
 
 		try {
@@ -707,7 +707,7 @@ final public class JDBC_API_Tester {
 			if (response != Statement.SUCCESS_NO_INFO)
 				sb.append("Creating type xml failed to return -2!! It returned: ").append(response).append("\n");
 		} catch (SQLException e) {
-			sb.append("failed to create type xml: ").append(e.getMessage());
+			sb.append("failed to create type xml: ").append(e.getMessage()).append("\n");
 		}
 
 		try {
@@ -864,7 +864,7 @@ final public class JDBC_API_Tester {
 			if (response != Statement.SUCCESS_NO_INFO)
 				sb.append("Dropping table ").append(tablename).append(" failed to return -2!! It returned: ").append(response).append("\n");
 		} catch (SQLException e) {
-			sb.append("failed to drop test table ").append(tablename).append(": ").append(e.getMessage());
+			sb.append("failed to drop test table ").append(tablename).append(": ").append(e.getMessage()).append("\n");
 		}
 
 		try {
@@ -872,7 +872,7 @@ final public class JDBC_API_Tester {
 			if (response != Statement.SUCCESS_NO_INFO)
 				sb.append("Dropping type xml failed to return -2!! It returned: ").append(response).append("\n");
 		} catch (SQLException e) {
-			sb.append("failed to drop type: ").append(e.getMessage());
+			sb.append("failed to drop type: ").append(e.getMessage()).append("\n");
 		}
 
 		closeStmtResSet(stmt, null);