return slice (!map) from ExtractNetworkAddresses
diff --git a/openstack/compute/v2/servers/requests_test.go b/openstack/compute/v2/servers/requests_test.go
index abfdec7..3527428 100644
--- a/openstack/compute/v2/servers/requests_test.go
+++ b/openstack/compute/v2/servers/requests_test.go
@@ -302,8 +302,8 @@
actual, err := ExtractNetworkAddresses(page)
th.AssertNoErr(t, err)
- if len(actual) != 1 {
- t.Fatalf("Expected 1 network, got %d", len(actual))
+ if len(actual) != 2 {
+ t.Fatalf("Expected 2 addresses, got %d", len(actual))
}
th.CheckDeepEquals(t, expected, actual)