diff options
Diffstat (limited to 'src/pkg/reflect/all_test.go')
-rw-r--r-- | src/pkg/reflect/all_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/reflect/all_test.go b/src/pkg/reflect/all_test.go index b0ed9e411..b94db00d9 100644 --- a/src/pkg/reflect/all_test.go +++ b/src/pkg/reflect/all_test.go @@ -966,7 +966,7 @@ type Point struct { x, y int; } -func (p Point) Dist(scale int) int { return p.x * p.x * scale + p.y * p.y * scale } +func (p Point) Dist(scale int) int { return p.x*p.x*scale + p.y*p.y*scale } func TestMethod(t *testing.T) { // Non-curried method of type. |