Skip to content

Commit

Permalink
Simplify unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arturogonzalezm committed Jul 29, 2024
1 parent 0ba4c10 commit 6b1c1b4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/flexint/flexint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ func TestUnmarshalJSON(t *testing.T) {
{"floating point value round half to even 12344.5", "12344.5", 12344, false},
{"max int64", "9223372036854775807", Int64(math.MaxInt64), false},
{"min int64", "-9223372036854775808", Int64(math.MinInt64), false},
{"float64 exceeds max int64", "9223372036854775808.0", Int64(math.MaxInt64), false},
{"float64 below min int64", "-9223372036854775809.0", Int64(math.MinInt64), false},
{"string integer value", `"12345"`, 12345, false},
{"string floating point value", `"12345.67"`, 12346, false},
Expand Down

0 comments on commit 6b1c1b4

Please sign in to comment.