Skip to content

Commit

Permalink
Fixes value assigned to a variable is never read before being overwri…
Browse files Browse the repository at this point in the history
…tten in color test (#121)
  • Loading branch information
jaswdr committed Aug 11, 2022
1 parent 65aac8d commit 56db629
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions color_test.go
Expand Up @@ -25,8 +25,7 @@ func TestRGB(t *testing.T) {
func TestRGBAsArray(t *testing.T) {
c := New().Color()

color := c.RGBAsArray()
Expect(t, 3, len(color))
Expect(t, 3, len(c.RGBAsArray()))
}

func TestCSS(t *testing.T) {
Expand Down

0 comments on commit 56db629

Please sign in to comment.