Skip to content

Commit 9080e1d

Browse files
committed
changes in tokio-postgres-empty-password-rust rule
1 parent 2ca58b6 commit 9080e1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/rust/tokio-postgres-empty-password-rust-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ valid:
55
config
66
.host(std::env::var("HOST").expect("set HOST"))
77
.user(std::env::var("USER").expect("set USER"))
8-
.password(std::env::var("USER").expect("set USER"))
8+
.password(std::env::var("PASSWORD").expect("set PASSWORD"))
99
.port(std::env::var("PORT").expect("set PORT"));
1010
let (client, connection) = config.connect(NoTls).await?;
1111
tokio::spawn(async move {

0 commit comments

Comments
 (0)