Skip to content

Commit e6f93d3

Browse files
committed
Include default config values in expected test output
1 parent 22cf7ce commit e6f93d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsn_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ var testDSNs = []struct {
7676
&Config{Net: "tcp", Addr: "[de:ad:be:ef::ca:fe]:3306", DBName: "dbname", Loc: time.UTC, MaxAllowedPacket: defaultMaxAllowedPacket, Logger: defaultLogger, AllowNativePasswords: true, CheckConnLiveness: true},
7777
}, {
7878
"user:password@/dbname?loc=UTC&timeout=30s&parseTime=true&timeTruncate=1h",
79-
&Config{User: "user", Passwd: "password", Net: "tcp", Addr: "127.0.0.1:3306", DBName: "dbname", Loc: time.UTC, Timeout: 30 * time.Second, ParseTime: true, TimeTruncate: time.Hour},
79+
&Config{User: "user", Passwd: "password", Net: "tcp", Addr: "127.0.0.1:3306", DBName: "dbname", Loc: time.UTC, Timeout: 30 * time.Second, ParseTime: true, MaxAllowedPacket: defaultMaxAllowedPacket, Logger: defaultLogger, AllowNativePasswords: true, CheckConnLiveness: true, TimeTruncate: time.Hour},
8080
},
8181
}
8282

0 commit comments

Comments
 (0)