Skip to content

Commit cda4f5e

Browse files
formatting
1 parent e7c6dd3 commit cda4f5e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

TestVectors/dafny/DDBEncryption/src/TestVectors.dfy

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,6 @@ module {:options "-functionSyntax:4"} DdbEncryptionTestVectors {
852852
{
853853
var wClient, rClient := SetupTestTable(writeConfig, readConfig);
854854
WriteAllRecords(wClient, records);
855-
856855
// Update each record by appending "updated" to the partition key
857856
for i := 0 to |records| {
858857
var newValue := "updated";
@@ -908,10 +907,7 @@ module {:options "-functionSyntax:4"} DdbEncryptionTestVectors {
908907
ExpressionAttributeValues := Some(exprAttrValues),
909908
ReturnValues := Some(DDB.ReturnValue.ALL_OLD)
910909
);
911-
912-
// The delete operation will succeed only if the condition is met
913910
var deleteResult := wClient.DeleteItem(deleteInput);
914-
915911
expect attributeToDelete in writeConfig.config.attributeActionsOnEncrypt, "`attributeToDelete` not found in attributeActionsOnEncrypt of config.";
916912
if writeConfig.config.attributeActionsOnEncrypt[attributeToDelete] == SE.ENCRYPT_AND_SIGN {
917913
expect deleteResult.Failure?, "DeleteItem should have failed.";

0 commit comments

Comments
 (0)