Skip to content

Commit 7b38962

Browse files
committed
fix(tests): pass token to Variant::supports_ord in assert_ord_oracle
The eql_v3 rebase added a `token: &str` parameter to `Variant::supports_ord`, but `assert_ord_oracle` still called it tokenless, so the eql_tests lib did not compile. Pass `T::PG_TYPE`.
1 parent 63c60ed commit 7b38962

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/sqlx/src/property.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ pub async fn assert_ord_oracle<T: ScalarType>(
122122
rows: &[Row<T>],
123123
) -> Result<()> {
124124
assert!(
125-
variant.supports_ord(),
125+
variant.supports_ord(T::PG_TYPE),
126126
"assert_ord_oracle needs an ordered variant"
127127
);
128128
let domain = ScalarDomainSpec::new::<T>(variant).sql_domain;

0 commit comments

Comments
 (0)