Skip to content

Commit db23d9e

Browse files
Merge branch 'rishav/addUpdateDeleteTest' of https://github.com/aws/aws-database-encryption-sdk-dynamodb into rishav/addUpdateDeleteTest
2 parents 93af3cc + 956f4a8 commit db23d9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TestVectors/dafny/DDBEncryption/src/TestVectors.dfy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ module {:options "-functionSyntax:4"} DdbEncryptionTestVectors {
918918
var hasDynamoDbEncryptionTransformsException? := String.HasSubString(deleteResult.error.objMessage, "Condition Expressions forbidden on encrypted attributes");
919919
expect hasDynamoDbEncryptionTransformsException?.Some?, "Error might is not be of type DynamoDbEncryptionTransformsException";
920920
} else if attributeToDelete in records[i].item && records[i].item[attributeToDelete].S? && records[i].item[attributeToDelete].S == expectedAttributeValue {
921-
expect deleteResult.Success?, "DeleteItem should have failed.";
921+
expect deleteResult.Success?, "DeleteItem should have succeeded.";
922922
expect deleteResult.value.Attributes.Some?, "DeleteItemOutput should have had some attribute because ReturnValues was set as `ALL_OLD` in DeleteItemInput";
923923
expect deleteResult.value.Attributes.value == records[i].item, "Wrong item was deleted.";
924924
} else {

0 commit comments

Comments
 (0)