Update to gobook@4fdc3c0a831c14c716c2c013e42268f6d21a9a13
Change-Id: I63623453205b84eba5680e27f68e81e99e7bbeb9
This commit is contained in:
@@ -93,7 +93,7 @@ func TestEqual(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func ExampleEqual() {
|
||||
func Example_equal() {
|
||||
//!+
|
||||
fmt.Println(Equal([]int{1, 2, 3}, []int{1, 2, 3})) // "true"
|
||||
fmt.Println(Equal([]string{"foo"}, []string{"bar"})) // "false"
|
||||
@@ -108,7 +108,7 @@ func ExampleEqual() {
|
||||
// true
|
||||
}
|
||||
|
||||
func ExampleEqualCycle() {
|
||||
func Example_equalCycle() {
|
||||
//!+cycle
|
||||
// Circular linked lists a -> b -> a and c -> c.
|
||||
type link struct {
|
||||
|
||||
Reference in New Issue
Block a user