Skip to content

Commit 92adc36

Browse files
committed
fix check
1 parent 966309d commit 92adc36

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

driver/tests/driver/transaction.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ async fn test_commit() {
3232
let (val,): (i32,) = row.try_into().unwrap();
3333
assert_eq!(val, 1);
3434
conn.commit().await.unwrap();
35-
let row = conn.query_row("select 1").await.unwrap();
35+
let row = conn.query_row("select 1").await.unwrap();
3636
let row = row.unwrap();
37-
println!("{:?}",row);
37+
println!("{:?}", row);
3838
}
3939

4040
#[tokio::test]
@@ -43,7 +43,6 @@ async fn test_rollback() {
4343
let client = Client::new(dsn.to_string());
4444
let conn = client.get_conn().await.unwrap();
4545

46-
4746
conn.exec("CREATE OR REPLACE TABLE t(c int);")
4847
.await
4948
.unwrap();

0 commit comments

Comments
 (0)