Skip to content

Instantly share code, notes, and snippets.

@ov1d1u
Created June 25, 2020 19:15
Show Gist options
  • Save ov1d1u/f7ad21b6c061b2b7230c9cc7218e29eb to your computer and use it in GitHub Desktop.
Save ov1d1u/f7ad21b6c061b2b7230c9cc7218e29eb to your computer and use it in GitHub Desktop.
MakeGatewayInfo() mismatch (-want +got):
cmp_test.Gateway{
SSID: "CoffeeShopWiFi",
- IPAddress: s"192.168.0.2",
+ IPAddress: s"192.168.0.1",
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"},
{Hostname: "espresso", IPAddress: s"192.168.0.121"},
{
Hostname: "latte",
- IPAddress: s"192.168.0.221",
+ IPAddress: s"192.168.0.219",
LastSeen: s"2009-11-10 23:00:23 +0000 UTC",
},
+ {
+ Hostname: "americano",
+ IPAddress: s"192.168.0.188",
+ LastSeen: s"2009-11-10 23:03:05 +0000 UTC",
+ },
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment