Skip to content

Commit 127f9ca

Browse files
committed
take out underscores for godoc
1 parent a0e45ac commit 127f9ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func (m *MixedInput) Equal(a, b int) bool {
2525
return m.A[a] == names[m.B[b]]
2626
}
2727

28-
func Example_Diff() {
28+
func ExampleDiff() {
2929
m := &MixedInput{
3030
[]int{1, 2, 3, 1, 2, 2, 1},
3131
[]string{"three", "two", "one", "two", "one", "three"},
@@ -41,7 +41,7 @@ func Example_Diff() {
4141
// change at 7 5
4242
}
4343

44-
func Example_GranularStrings() {
44+
func ExampleGranularStrings() {
4545
a := "hElLo!"
4646
b := "hello!"
4747
changes := diff.GranularStrings(a, b, 5) // ignore small gaps in differences

0 commit comments

Comments
 (0)