mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-09-28 13:31:41 +00:00
test(postgres): fix unreliable test that depends on the sequence number
This commit is contained in:
parent
699df28088
commit
41df13ba5a
@ -33,7 +33,7 @@ async fn test_non_null() -> anyhow::Result<()> {
|
||||
.fetch_one(&mut tx)
|
||||
.await?;
|
||||
|
||||
assert_eq!(row.id, 1);
|
||||
assert!(row.id > 0);
|
||||
assert_eq!(row.text, "Hello");
|
||||
assert_eq!(row.owner_id, None);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user