From 76431141e5f10f7942e8b64df13e40fba67a47e2 Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Wed, 11 Mar 2020 03:34:23 -0700 Subject: [PATCH] postgres: add type test for NULL --- tests/postgres-types.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/postgres-types.rs b/tests/postgres-types.rs index 11c1ef63..991a5bf6 100644 --- a/tests/postgres-types.rs +++ b/tests/postgres-types.rs @@ -1,6 +1,12 @@ use sqlx::Postgres; use sqlx_test::test_type; +test_type!(null( + Postgres, + Option, + "NULL" == None:: +)); + test_type!(bool( Postgres, bool,