Skip to content

Commit

Permalink
fix: test case name. value -> number
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 committed Dec 16, 2020
1 parent 660dc75 commit 93ce44e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/errors/compressor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func TestErrInvalidCompressionLevel(t *testing.T) {
},
},
{
name: "returns error when compression leve is the maximum value of int",
name: "returns error when compression leve is the maximum number of int",
args: args{
level: int(math.MaxInt64),
},
Expand All @@ -55,7 +55,7 @@ func TestErrInvalidCompressionLevel(t *testing.T) {
},
},
{
name: "returns error when compression leve is the minimum value of int",
name: "returns error when compression leve is the minimum number of int",
args: args{
level: int(math.MinInt64),
},
Expand Down

0 comments on commit 93ce44e

Please sign in to comment.