Change examples to be all lowercase to see if they appear in godoc

This commit is contained in:
btracey
2013-07-19 08:58:36 -07:00
parent fb26b6240f
commit 4984eea8d5

View File

@@ -24,7 +24,7 @@ func ExampleAdd_simple() {
// s3 = [1 1 1 1] // s3 = [1 1 1 1]
} }
func ExampleAdd_newSlice() { func ExampleAdd_newslice() {
// If one wants to store the result in a // If one wants to store the result in a
// new container, just make a new slice // new container, just make a new slice
s1 := []float64{1, 2, 3, 4} s1 := []float64{1, 2, 3, 4}
@@ -45,7 +45,7 @@ func ExampleAdd_newSlice() {
// s3 = [1 1 1 1] // s3 = [1 1 1 1]
} }
func ExampleAdd_unequalLengths() { func ExampleAdd_unequallengths() {
// If the lengths of the slices are unknown, // If the lengths of the slices are unknown,
// use Eqlen to check // use Eqlen to check
s1 := []float64{1, 2, 3} s1 := []float64{1, 2, 3}
@@ -61,7 +61,7 @@ func ExampleAdd_unequalLengths() {
// Unequal lengths // Unequal lengths
} }
func ExampleAdd_sliceOfSliceSum() { func ExampleAdd_sliceofslicesum() {
// Add can also be used to take a columnwise sum // Add can also be used to take a columnwise sum
// of a slice of slices // of a slice of slices