]> Cypherpunks repositories - gostls13.git/commit
testing: style change: omit unnecessary new
authorIan Lance Taylor <iant@golang.org>
Sat, 20 Dec 2014 01:31:16 +0000 (17:31 -0800)
committerIan Lance Taylor <iant@golang.org>
Sat, 20 Dec 2014 01:40:11 +0000 (01:40 +0000)
commit1e65616e1a03bfb71478a8dc43a4cd6e8c013107
treeb33ebec7c4a58a0dc30449c6257cd887d2c80450
parent6ceb60444d7647fc62d692743ad98202c3669b8e
testing: style change: omit unnecessary new

This was brought to my attention because a user thought that because
the file was named "example.go" it served as an example of good coding
practice.  It's not an example, of course, but may as well use a more
idiomatic style anyhow.

Change-Id: I7aa720f603f09f7d597fb7536dbf46ef09144e28
Reviewed-on: https://go-review.googlesource.com/1902
Reviewed-by: Minux Ma <minux@golang.org>
src/testing/example.go