pgx uses pgconn.CommandTag instead of own definition
This commit is contained in:
+1
-1
@@ -1087,7 +1087,7 @@ func TestConnQueryDatabaseSQLDriverValuerWithAutoGeneratedPointerReceiver(t *tes
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if commandTag != "INSERT 0 1" {
|
||||
if string(commandTag) != "INSERT 0 1" {
|
||||
t.Fatalf("want %s, got %s", "INSERT 0 1", commandTag)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user