From 35325ef6a10e371f2b6f5c3cc3a895cba062903f Mon Sep 17 00:00:00 2001 From: Chris Sosnin Date: Thu, 10 Dec 2020 22:30:51 +0300 Subject: [PATCH] Keep tests from reverted commit --- tests/postgres/types.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/postgres/types.rs b/tests/postgres/types.rs index 93ac3976..a0aa64eb 100644 --- a/tests/postgres/types.rs +++ b/tests/postgres/types.rs @@ -396,7 +396,14 @@ test_type!(bigdecimal(Postgres, "10000::numeric" == "10000".parse::().unwrap(), "0.1::numeric" == "0.1".parse::().unwrap(), "0.01::numeric" == "0.01".parse::().unwrap(), + "0.012::numeric" == "0.012".parse::().unwrap(), + "0.0123::numeric" == "0.0123".parse::().unwrap(), "0.01234::numeric" == "0.01234".parse::().unwrap(), + "0.012345::numeric" == "0.012345".parse::().unwrap(), + "0.0123456::numeric" == "0.0123456".parse::().unwrap(), + "0.01234567::numeric" == "0.01234567".parse::().unwrap(), + "0.012345678::numeric" == "0.012345678".parse::().unwrap(), + "0.0123456789::numeric" == "0.0123456789".parse::().unwrap(), "12.34::numeric" == "12.34".parse::().unwrap(), "12345.6789::numeric" == "12345.6789".parse::().unwrap(), ));