Mercurial > hg > monetdb-java
changeset 494:56f24eb8ca43
Use valid json
author | Pedro Ferreira <pedro.ferreira@monetdbsolutions.com> |
---|---|
date | Tue, 05 Oct 2021 13:20:13 +0200 (2021-10-05) |
parents | 74e390fd739c |
children | 05a705ec9a69 |
files | tests/JDBC_API_Tester.java |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/JDBC_API_Tester.java +++ b/tests/JDBC_API_Tester.java @@ -4347,7 +4347,7 @@ final public class JDBC_API_Tester { row++; // row 8 pstmt.setLong(1, (long)row); pstmt.setString(2, "row " + row); - pstmt.setObject(3, "+3.1415E-06"); + pstmt.setObject(3, "[3.1415E-06]"); pstmt.setNull(4, 0); try { pstmt.setURL(5, new java.net.URL("https://www.cwi.nl/")); @@ -4468,8 +4468,8 @@ final public class JDBC_API_Tester { " }\n" + "}} null null null\n" + "row 7 7 row 7 null 4a148b7d-8d47-4e1e-a21e-09a71abf2215 null null\n" + - "row 8 8 row 8 +3.1415E-06 null https://www.cwi.nl/ null\n" + - "row 9 9 row 9 +3.1415E-06 null null 127.255.255.255\n" + + "row 8 8 row 8 [3.1415E-06] null https://www.cwi.nl/ null\n" + + "row 9 9 row 9 [3.1415E-06] null null 127.255.255.255\n" + "row 10 10 row 10 [{\"menu\": {\n" + " \"header\": \"SVG Viewer\",\n" + " \"items\": [\n" +