diff --git a/tests/postgres/types.rs b/tests/postgres/types.rs index 2220edf5c..36566d01d 100644 --- a/tests/postgres/types.rs +++ b/tests/postgres/types.rs @@ -261,7 +261,7 @@ mod json { test_type!(json( Postgres, - "SELECT {0}::jsonb is not distinct from $1::jsonb, {0} as _2, $2 as _3", + "SELECT ({0}::jsonb is not distinct from $1::jsonb)::int4, {0} as _2, $2 as _3", "'\"Hello, World\"'::json" == json!("Hello, World"), "'\"😎\"'::json" == json!("😎"), "'\"🙋‍♀️\"'::json" == json!("🙋‍♀️"),