Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed Jun 26, 2024
1 parent 29a175b commit 8881703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/typing/decimal/decimal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestDecimal_Details(t *testing.T) {
// -1 precision (PrecisionNotSpecified):
assert.Equal(t, DecimalDetails{scale: 0, precision: PrecisionNotSpecified}, NewDecimal(PrecisionNotSpecified, numbers.MustParseDecimal("0")).Details())
assert.Equal(t, DecimalDetails{scale: 0, precision: PrecisionNotSpecified}, NewDecimal(PrecisionNotSpecified, numbers.MustParseDecimal("12345")).Details())
assert.Equal(t, DecimalDetails{scale: 0, precision: PrecisionNotSpecified}, NewDecimal(PrecisionNotSpecified, numbers.MustParseDecimal("-1")).Details())
assert.Equal(t, DecimalDetails{scale: 0, precision: PrecisionNotSpecified}, NewDecimal(PrecisionNotSpecified, numbers.MustParseDecimal("-12")).Details())
assert.Equal(t, DecimalDetails{scale: 2, precision: PrecisionNotSpecified}, NewDecimal(PrecisionNotSpecified, numbers.MustParseDecimal("12345.12")).Details())
assert.Equal(t, DecimalDetails{scale: 3, precision: PrecisionNotSpecified}, NewDecimal(PrecisionNotSpecified, numbers.MustParseDecimal("-12345.123")).Details())

Expand Down

0 comments on commit 8881703

Please sign in to comment.