mirror of https://github.com/jackc/pgx.git
Update shopspring decimal integration test
New version of shopspring/decimal improves precision. This broke a test.pull/401/head
parent
b931b56bf6
commit
b0c9bbbf71
|
@ -171,7 +171,7 @@ func TestNumericSet(t *testing.T) {
|
|||
{source: float64(1000), result: &shopspring.Numeric{Decimal: mustParseDecimal(t, "1000"), Status: pgtype.Present}},
|
||||
{source: float64(1234), result: &shopspring.Numeric{Decimal: mustParseDecimal(t, "1234"), Status: pgtype.Present}},
|
||||
{source: float64(12345678900), result: &shopspring.Numeric{Decimal: mustParseDecimal(t, "12345678900"), Status: pgtype.Present}},
|
||||
{source: float64(12345.678901), result: &shopspring.Numeric{Decimal: mustParseDecimal(t, "12345.678901"), Status: pgtype.Present}},
|
||||
{source: float64(1.25), result: &shopspring.Numeric{Decimal: mustParseDecimal(t, "1.25"), Status: pgtype.Present}},
|
||||
}
|
||||
|
||||
for i, tt := range successfulTests {
|
||||
|
|
Loading…
Reference in New Issue