Test database name in parsing tests

pull/388/head
Jack Christensen 2018-01-15 11:47:59 -06:00
parent f5c7ef0957
commit 5f24beb4f0
1 changed files with 3 additions and 0 deletions

View File

@ -831,6 +831,9 @@ func testConnConfigEquals(t *testing.T, expected pgx.ConnConfig, actual pgx.Conn
if actual.Host != expected.Host {
t.Errorf("%s: expected Host to be %v got %v", testName, expected.Host, actual.Host)
}
if actual.Database != expected.Database {
t.Errorf("%s: expected Database to be %v got %v", testName, expected.Database, actual.Database)
}
if actual.Port != expected.Port {
t.Errorf("%s: expected Port to be %v got %v", testName, expected.Port, actual.Port)
}