From 5ebcba73f45fc4ecbf5471c29cefa066fe7841e4 Mon Sep 17 00:00:00 2001 From: Fabrice Lecomte Date: Mon, 19 Jul 2021 02:57:05 +0200 Subject: [PATCH] Add more test --- .../fr/postgresjson/connexion/Connection.kt | 2 +- .../kotlin/fr/postgresjson/RequesterTest.kt | 26 ++++++++++++++++--- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/src/main/kotlin/fr/postgresjson/connexion/Connection.kt b/src/main/kotlin/fr/postgresjson/connexion/Connection.kt index afb9e89..8a57b46 100644 --- a/src/main/kotlin/fr/postgresjson/connexion/Connection.kt +++ b/src/main/kotlin/fr/postgresjson/connexion/Connection.kt @@ -235,7 +235,7 @@ class Connection( return """(? firstName + > SELECT ?::text as "firstName", ?::text as "secondName"; + """.trimIndent(), + it.message + ) + } + } + @Test fun `call exec on function with pair as arguments`() { val resources = this::class.java.getResource("/sql/function/Test")?.toURI()