build source

This commit is contained in:
build 2026-04-16 04:16:36 +00:00
commit ee1fec43ed
4171 changed files with 1351288 additions and 0 deletions

View file

@ -0,0 +1,12 @@
package embeddedpostgres
import "testing"
func TestGetConnectionURL(t *testing.T) {
config := DefaultConfig().Database("mydb").Username("myuser").Password("mypass")
expect := "postgresql://myuser:mypass@localhost:5432/mydb"
if got := config.GetConnectionURL(); got != expect {
t.Errorf("expected \"%s\" got \"%s\"", expect, got)
}
}