Skip to content

Commit fb67696

Browse files
committed
Small test cleanup
1 parent 4dd527e commit fb67696

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pgml-sdks/pgml/src/filter_builder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ mod tests {
320320
assert_eq!(
321321
sql,
322322
format!(
323-
r##"SELECT "id" FROM "test_table" WHERE ("test_table"."metadata"#>>'{{id}}')::bigint {} 1 AND ("test_table"."metadata"#>>'{{id2,id3}}')::bigint {} 1"##,
323+
r##"SELECT "id" FROM "test_table" WHERE ("test_table"."metadata"#>>'{{id}}')::float8 {} 1 AND ("test_table"."metadata"#>>'{{id2,id3}}')::float8 {} 1"##,
324324
operator, operator
325325
)
326326
);
@@ -344,7 +344,7 @@ mod tests {
344344
assert_eq!(
345345
sql,
346346
format!(
347-
r##"SELECT "id" FROM "test_table" WHERE ("test_table"."metadata"#>>'{{id}}')::bigint {} (1) AND ("test_table"."metadata"#>>'{{id2,id3}}')::bigint {} (1)"##,
347+
r##"SELECT "id" FROM "test_table" WHERE ("test_table"."metadata"#>>'{{id}}')::float8 {} (1) AND ("test_table"."metadata"#>>'{{id2,id3}}')::float8 {} (1)"##,
348348
operator, operator
349349
)
350350
);

0 commit comments

Comments
 (0)