Switch to using the dep tool and update all the dependencies
This commit is contained in:
parent
5135ff73cb
commit
98c2d2c41b
5321 changed files with 4483201 additions and 5922 deletions
30
vendor/github.com/aws/aws-sdk-go/service/sqs/api_test.go
generated
vendored
Normal file
30
vendor/github.com/aws/aws-sdk-go/service/sqs/api_test.go
generated
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
// +build integration
|
||||
|
||||
package sqs_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/awstesting/unit"
|
||||
"github.com/aws/aws-sdk-go/service/sqs"
|
||||
)
|
||||
|
||||
func TestFlattenedTraits(t *testing.T) {
|
||||
s := sqs.New(unit.Session)
|
||||
_, err := s.DeleteMessageBatch(&sqs.DeleteMessageBatchInput{
|
||||
QueueURL: aws.String("QUEUE"),
|
||||
Entries: []*sqs.DeleteMessageBatchRequestEntry{
|
||||
{
|
||||
ID: aws.String("TEST"),
|
||||
ReceiptHandle: aws.String("RECEIPT"),
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
assert.Error(t, err)
|
||||
assert.Equal(t, "InvalidAddress", err.Code())
|
||||
assert.Equal(t, "The address QUEUE is not valid for this endpoint.", err.Message())
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue