diff options
| -rw-r--r-- | nccli_test.go | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/nccli_test.go b/nccli_test.go index fdd075c..4495f05 100644 --- a/nccli_test.go +++ b/nccli_test.go @@ -309,13 +309,13 @@ func TestGetAllRecordsValidXMLResponse(t *testing.T) { <ExecutionTime>32.76</ExecutionTime> </ApiResponse> ` - want := []Host{Host{ + want := []Host{{ Name: "@", Type: "A", Address: "1.2.3.4", MXPref: 10, TTL: 1800, - }, Host{ + }, { Name: "www", Type: "A", Address: "122.23.3.7", @@ -469,13 +469,13 @@ func TestAddRecordValidXMLResponse(t *testing.T) { MXPref: 42, TTL: 4242, } - newHosts := []Host{Host{ + newHosts := []Host{{ Name: "@", Type: "A", Address: "1.2.3.4", MXPref: 10, TTL: 1800, - }, Host{ + }, { Name: "www", Type: "A", Address: "122.23.3.7", @@ -537,13 +537,13 @@ func TestAddRecordInValidXMLResponse(t *testing.T) { MXPref: 42, TTL: 4242, } - newHosts := []Host{Host{ + newHosts := []Host{{ Name: "@", Type: "A", Address: "1.2.3.4", MXPref: 10, TTL: 1800, - }, Host{ + }, { Name: "www", Type: "A", Address: "122.23.3.7", @@ -613,13 +613,13 @@ func TestAddRecordErrorXMLResponse(t *testing.T) { MXPref: 42, TTL: 4242, } - newHosts := []Host{Host{ + newHosts := []Host{{ Name: "@", Type: "A", Address: "1.2.3.4", MXPref: 10, TTL: 1800, - }, Host{ + }, { Name: "www", Type: "A", Address: "122.23.3.7", @@ -694,13 +694,13 @@ func TestUpdateRecordValidXMLResponse(t *testing.T) { MXPref: 42, TTL: 4242, } - newHosts := []Host{Host{ + newHosts := []Host{{ Name: "@", Type: "A", Address: "1.2.3.4", MXPref: 10, TTL: 1800, - }, Host{ + }, { Name: "www", Type: "A", Address: "122.23.3.7", @@ -763,13 +763,13 @@ func TestUpdateRecordInValidXMLResponse(t *testing.T) { MXPref: 42, TTL: 4242, } - newHosts := []Host{Host{ + newHosts := []Host{{ Name: "@", Type: "A", Address: "1.2.3.4", MXPref: 10, TTL: 1800, - }, Host{ + }, { Name: "www", Type: "A", Address: "122.23.3.7", @@ -840,13 +840,13 @@ func TestUpdateRecordErrorXMLResponse(t *testing.T) { MXPref: 42, TTL: 4242, } - newHosts := []Host{Host{ + newHosts := []Host{{ Name: "@", Type: "A", Address: "1.2.3.4", MXPref: 10, TTL: 1800, - }, Host{ + }, { Name: "www", Type: "A", Address: "122.23.3.7", |
