Skip to content

Commit

Permalink
add test for issue #78
Browse files Browse the repository at this point in the history
  • Loading branch information
nakagami committed Mar 6, 2019
1 parent e4333ce commit 24d3cc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func TestDSNParse(t *testing.T) {
{"user:password@localhost/dbname?role=role", "localhost:3050", "dbname", "user", "password", "role", "Srp", "true"},
{"user:password@localhost:3000/c:/fbdata/database.fdb?role=role&wire_crypt=false", "localhost:3000", "c:/fbdata/database.fdb", "user", "password", "role", "Srp", "false"},
{"firebird://user:password@localhost:3000/dbname", "localhost:3000", "dbname", "user", "password", "", "Srp", "true"},
{"firebird://user:%21p%40ssword%3F@localhost:3050/dbname", "localhost:3050", "dbname", "user", "!p@ssword?", "", "Srp", "true"},
}

for _, d := range testDSNs {
Expand Down

0 comments on commit 24d3cc1

Please sign in to comment.