We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fa7af5 commit de314c6Copy full SHA for de314c6
chdb/connection_test.go
@@ -64,11 +64,10 @@ func TestQueryOnConnection(t *testing.T) {
64
65
connection.Query(" INSERT INTO testdb.testtable VALUES (1), (2), (3);")
66
67
- ret, err := connection.Query("SELECT * FROM testtable;")
+ ret, err := connection.Query("SELECT * FROM testdb.testtable;")
68
if err != nil {
69
t.Errorf("Query failed: %s", err)
70
}
71
- t.Errorf("result is: %s", string(ret.Buf()))
72
if string(ret.Buf()) != "1\n2\n3\n" {
73
t.Errorf("Query result should be 1\n2\n3\n, got %s", string(ret.Buf()))
74
0 commit comments