Skip to content

Commit

Permalink
test: add tests for more coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
howeyc committed Sep 25, 2023
1 parent f67a9b7 commit 2541b6b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions decimal/decimal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,16 @@ var testParseCases = []testCase{
"atoi failed",
"5555555555555555555555555550000000000000000",
},
{
"error-6",
"atoi failed",
"-",
},
{
"error-7",
"atoi failed",
"",
},
{
"error-badint-1",
`atoi failed`,
Expand Down

0 comments on commit 2541b6b

Please sign in to comment.