aboutsummaryrefslogtreecommitdiff
path: root/cmp/example_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmp/example_test.go')
-rw-r--r--cmp/example_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmp/example_test.go b/cmp/example_test.go
index 2689efb..d165383 100644
--- a/cmp/example_test.go
+++ b/cmp/example_test.go
@@ -1,6 +1,6 @@
// Copyright 2017, The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE.md file.
+// license that can be found in the LICENSE file.
package cmp_test
@@ -37,7 +37,7 @@ func ExampleDiff_testing() {
// SSID: "CoffeeShopWiFi",
// - IPAddress: s"192.168.0.2",
// + IPAddress: s"192.168.0.1",
- // NetMask: net.IPMask{0xff, 0xff, 0x00, 0x00},
+ // NetMask: {0xff, 0xff, 0x00, 0x00},
// Clients: []cmp_test.Client{
// ... // 2 identical elements
// {Hostname: "macchiato", IPAddress: s"192.168.0.153", LastSeen: s"2009-11-10 23:39:43 +0000 UTC"},