Skip to content

Commit

Permalink
deflake
Browse files Browse the repository at this point in the history
  • Loading branch information
guregu committed Jan 3, 2020
1 parent ba1facb commit ebd6c15
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions encoding_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand All @@ -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'}}},
Expand Down

0 comments on commit ebd6c15

Please sign in to comment.