Commit 220b5f7b authored by Didier Spezia's avatar Didier Spezia Committed by Nigel Tao

image/gif: map/slice literals janitoring

Simplify slice/map literal expressions.
Caught with gofmt -d -s, fixed with gofmt -w -s

Change-Id: Iefd5f263c4f89a81da9427a7b9d97f13c35ab64f
Reviewed-on: https://go-review.googlesource.com/13838Reviewed-by: 's avatarAndrew Gerrand <adg@golang.org>
parent 876b7cc2
......@@ -328,11 +328,11 @@ func TestEncodeAllFramesOutOfBounds(t *testing.T) {
func TestEncodeNonZeroMinPoint(t *testing.T) {
points := []image.Point{
image.Point{-8, -9},
image.Point{-4, -4},
image.Point{-3, +3},
image.Point{+0, +0},
image.Point{+2, +2},
{-8, -9},
{-4, -4},
{-3, +3},
{+0, +0},
{+2, +2},
}
for _, p := range points {
src := image.NewPaletted(image.Rectangle{Min: p, Max: p.Add(image.Point{6, 6})}, palette.Plan9)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment