Skip to content

Commit 6301aa1

Browse files
committed
fix formatting
1 parent cd93bde commit 6301aa1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

postgresql-async/src/test/java/com/github/aysnc/sql/db/integration/ContainerHelper.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ object ContainerHelper {
2020
/**
2121
* default config is a local instance already running on port 15432 (i.e. a docker postgresql)
2222
*/
23-
var defaultConfiguration : Configuration
23+
var defaultConfiguration: Configuration
2424

2525
init {
26-
var username = System.getenv("PGUSER") ?: "postresql_async";
27-
var host = System.getenv("PGHOST") ?: "localhost"
28-
var port = Integer.parseInt(System.getenv("PGPORT") ?: "15432")
29-
var password = System.getenv("PGPASSWORD") ?: "root"
30-
var database = System.getenv("PGDATABASE") ?: "netty_driver_test"
26+
val username = System.getenv("PGUSER") ?: "postresql_async"
27+
val host = System.getenv("PGHOST") ?: "localhost"
28+
val port = Integer.parseInt(System.getenv("PGPORT") ?: "15432")
29+
val password = System.getenv("PGPASSWORD") ?: "root"
30+
val database = System.getenv("PGDATABASE") ?: "netty_driver_test"
3131

3232
defaultConfiguration = Configuration(username, host, port, password, database)
3333
try {

0 commit comments

Comments
 (0)