Skip to content

Commit

Permalink
fix go lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Sep 8, 2024
1 parent 2a26d88 commit b14528b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions english/en_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ func TestConvertBigIntSigned(t *testing.T) {
func Benchmark_convert_string_bigInt(b *testing.B) {
b.Run("string", func(b *testing.B) {
for _, tc := range testData {
english.ConvertString(tc.String)
_, _ = english.ConvertString(tc.String)
}
})
b.Run("big.Int", func(b *testing.B) {
for _, tc := range testData {
english.ConvertBigInt(tc.BigInt)
_ = english.ConvertBigInt(tc.BigInt)
}
})
}
Expand Down
4 changes: 2 additions & 2 deletions persian/fa_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ func TestConvertBigIntSigned(t *testing.T) {
func Benchmark_convert_string_bigInt(b *testing.B) {
b.Run("string", func(b *testing.B) {
for _, tc := range testData {
persian.ConvertString(tc.String)
_, _ = persian.ConvertString(tc.String)
}
})
b.Run("big.Int", func(b *testing.B) {
for _, tc := range testData {
persian.ConvertBigInt(tc.BigInt)
_ = persian.ConvertBigInt(tc.BigInt)
}
})
}
Expand Down

0 comments on commit b14528b

Please sign in to comment.