gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkg

R=r, gri
CC=golang-dev
https://golang.org/cl/156115
diff --git a/src/pkg/rand/rand_test.go b/src/pkg/rand/rand_test.go
index 5741aca..ae417a9 100644
--- a/src/pkg/rand/rand_test.go
+++ b/src/pkg/rand/rand_test.go
@@ -289,26 +289,26 @@
 
 func TestNormTables(t *testing.T) {
 	testKn, testWn, testFn := initNorm();
-	if i := compareUint32Slices(kn[0:len(kn)], testKn); i >= 0 {
+	if i := compareUint32Slices(kn[0:], testKn); i >= 0 {
 		t.Errorf("kn disagrees at index %v; %v != %v\n", i, kn[i], testKn[i])
 	}
-	if i := compareFloat32Slices(wn[0:len(wn)], testWn); i >= 0 {
+	if i := compareFloat32Slices(wn[0:], testWn); i >= 0 {
 		t.Errorf("wn disagrees at index %v; %v != %v\n", i, wn[i], testWn[i])
 	}
-	if i := compareFloat32Slices(fn[0:len(fn)], testFn); i >= 0 {
+	if i := compareFloat32Slices(fn[0:], testFn); i >= 0 {
 		t.Errorf("fn disagrees at index %v; %v != %v\n", i, fn[i], testFn[i])
 	}
 }
 
 func TestExpTables(t *testing.T) {
 	testKe, testWe, testFe := initExp();
-	if i := compareUint32Slices(ke[0:len(ke)], testKe); i >= 0 {
+	if i := compareUint32Slices(ke[0:], testKe); i >= 0 {
 		t.Errorf("ke disagrees at index %v; %v != %v\n", i, ke[i], testKe[i])
 	}
-	if i := compareFloat32Slices(we[0:len(we)], testWe); i >= 0 {
+	if i := compareFloat32Slices(we[0:], testWe); i >= 0 {
 		t.Errorf("we disagrees at index %v; %v != %v\n", i, we[i], testWe[i])
 	}
-	if i := compareFloat32Slices(fe[0:len(fe)], testFe); i >= 0 {
+	if i := compareFloat32Slices(fe[0:], testFe); i >= 0 {
 		t.Errorf("fe disagrees at index %v; %v != %v\n", i, fe[i], testFe[i])
 	}
 }