postgres: add type test for NULL

This commit is contained in:
Ryan Leckey 2020-03-11 03:34:23 -07:00
parent a165615f53
commit 76431141e5

View file

@ -1,6 +1,12 @@
use sqlx::Postgres;
use sqlx_test::test_type;
test_type!(null(
Postgres,
Option<i16>,
"NULL" == None::<i16>
));
test_type!(bool(
Postgres,
bool,