Skip to content

Commit 956f4a8

Browse files
Update TestVectors/dafny/DDBEncryption/src/TestVectors.dfy
Co-authored-by: Lucas McDonald <[email protected]>
1 parent cda4f5e commit 956f4a8

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)