Add more tests
remove "sendQuery" on function sendQuery now return QueryResult remove null on queryError message
This commit is contained in:
@@ -236,16 +236,16 @@ class ConnectionTest : TestAbstract() {
|
||||
|
||||
assertEquals(
|
||||
"""
|
||||
|The query not return the "total" column
|
||||
|
|
||||
| > offset: 0, limit: 2
|
||||
| > SELECT null
|
||||
| > LIMIT :limit
|
||||
| > OFFSET :offset
|
||||
| > -----
|
||||
| > ?column?
|
||||
| > null
|
||||
""".trimMargin(),
|
||||
The query not return the "total" column
|
||||
|
||||
> :offset = 0, :limit = 2
|
||||
> SELECT null
|
||||
> LIMIT :limit
|
||||
> OFFSET :offset
|
||||
> -----
|
||||
> ?column?
|
||||
> null
|
||||
""".trimIndent(),
|
||||
exception.message
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user