diff --git a/encoding_test.go b/encoding_test.go index fe8f428..047bcd2 100644 --- a/encoding_test.go +++ b/encoding_test.go @@ -291,8 +291,8 @@ var itemEncodingTests = []struct { SS4: map[string]bool{"A": true}, SS5: map[customString]struct{}{"A": struct{}{}}, SS6: []customString{"A", "B"}, - SS7: map[textMarshaler]struct{}{textMarshaler(true): struct{}{}, textMarshaler(false): struct{}{}}, - SS8: map[textMarshaler]bool{textMarshaler(true): true, textMarshaler(false): true}, + SS7: map[textMarshaler]struct{}{textMarshaler(true): struct{}{}}, + SS8: map[textMarshaler]bool{textMarshaler(false): true}, BS1: [][]byte{[]byte{'A'}, []byte{'B'}}, BS2: map[[1]byte]struct{}{[1]byte{'A'}: struct{}{}}, BS3: map[[1]byte]bool{[1]byte{'A'}: true}, @@ -309,8 +309,8 @@ var itemEncodingTests = []struct { "SS4": &dynamodb.AttributeValue{SS: []*string{aws.String("A")}}, "SS5": &dynamodb.AttributeValue{SS: []*string{aws.String("A")}}, "SS6": &dynamodb.AttributeValue{SS: []*string{aws.String("A"), aws.String("B")}}, - "SS7": &dynamodb.AttributeValue{SS: []*string{aws.String("true"), aws.String("false")}}, - "SS8": &dynamodb.AttributeValue{SS: []*string{aws.String("true"), aws.String("false")}}, + "SS7": &dynamodb.AttributeValue{SS: []*string{aws.String("true")}}, + "SS8": &dynamodb.AttributeValue{SS: []*string{aws.String("false")}}, "BS1": &dynamodb.AttributeValue{BS: [][]byte{[]byte{'A'}, []byte{'B'}}}, "BS2": &dynamodb.AttributeValue{BS: [][]byte{[]byte{'A'}}}, "BS3": &dynamodb.AttributeValue{BS: [][]byte{[]byte{'A'}}},