Skip to content

Commit

Permalink
Bump versions of aws-sdk-go and stretchr-testify
Browse files Browse the repository at this point in the history
Now matching the versions packaged in Debian, updating the tests
accordingly to match a new field included in expected test output.
  • Loading branch information
lfaraone committed Apr 22, 2018
1 parent c27d487 commit 1fd70e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

[[constraint]]
name = "github.com/aws/aws-sdk-go"
version = "1.10.45"
version = "1.12.79"

[[constraint]]
branch = "master"
Expand All @@ -35,7 +35,7 @@

[[constraint]]
name = "github.com/stretchr/testify"
version = "1.1.4"
version = "1.2.1"

[[constraint]]
name = "github.com/urfave/cli"
Expand Down
4 changes: 2 additions & 2 deletions formatters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ func TestTextFormatter(t *testing.T) {

func TestJsonFormatter(t *testing.T) {
f := &JsonFormatter{}
assert.Equal(t, "[{\"CallerReference\":null,\"Config\":{\"Comment\":\"comment\",\"PrivateZone\":null},\"Id\":\"/hostedzone/Z1RWMUCMCPKCJX\",\"Name\":\"example.com.\",\"ResourceRecordSetCount\":2}]\n", formatTest(f))
assert.Equal(t, "[{\"CallerReference\":null,\"Config\":{\"Comment\":\"comment\",\"PrivateZone\":null},\"Id\":\"/hostedzone/Z1RWMUCMCPKCJX\",\"LinkedService\":null,\"Name\":\"example.com.\",\"ResourceRecordSetCount\":2}]\n", formatTest(f))
}

func TestJlFormatter(t *testing.T) {
f := &JlFormatter{}
assert.Equal(t, "{\"CallerReference\":null,\"Config\":{\"Comment\":\"comment\",\"PrivateZone\":null},\"Id\":\"/hostedzone/Z1RWMUCMCPKCJX\",\"Name\":\"example.com.\",\"ResourceRecordSetCount\":2}\n", formatTest(f))
assert.Equal(t, "{\"CallerReference\":null,\"Config\":{\"Comment\":\"comment\",\"PrivateZone\":null},\"Id\":\"/hostedzone/Z1RWMUCMCPKCJX\",\"LinkedService\":null,\"Name\":\"example.com.\",\"ResourceRecordSetCount\":2}\n", formatTest(f))
}

func TestTableFormatter(t *testing.T) {
Expand Down

0 comments on commit 1fd70e8

Please sign in to comment.