Simplify redundant types in literals (#95)

Using `gofmt -s`
This commit is contained in:
Cameron Moore
2016-08-23 02:45:54 -05:00
committed by Thomas Pelletier
parent 0049ab3dc4
commit 0599275eb9
4 changed files with 407 additions and 407 deletions
+3 -3
View File
@@ -18,9 +18,9 @@ func TestPositionString(t *testing.T) {
func TestInvalid(t *testing.T) {
for i, v := range []Position{
Position{0, 1234},
Position{1234, 0},
Position{0, 0},
{0, 1234},
{1234, 0},
{0, 0},
} {
if !v.Invalid() {
t.Errorf("Position at %v is valid: %v", i, v)