Skip to content

Commit 9b45469

Browse files
auto commit
1 parent 445d585 commit 9b45469

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

TestVectors/dafny/DDBEncryption/src/TestVectors.dfy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -854,8 +854,8 @@ module {:options "-functionSyntax:4"} DdbEncryptionTestVectors {
854854
Limit := None
855855
);
856856
var resultForInsertStatement := wClient.ExecuteStatement(inputForInsertStatement);
857-
expect resultForInsertStatement.Failure?;
858-
expect resultForInsertStatement.error.OpaqueWithText?;
857+
expect resultForInsertStatement.Failure?, "ExecuteStatement should have failed";
858+
expect resultForInsertStatement.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
859859

860860
// Create a PartiQL SELECT statement
861861
// The dynamodb attributes are random and non-existent because ExecuteStatement is supposed to be failed before going into dynamodb.
@@ -869,8 +869,8 @@ module {:options "-functionSyntax:4"} DdbEncryptionTestVectors {
869869
Limit := None
870870
);
871871
var resultForSelectStatement := rClient.ExecuteStatement(inputForSelectStatement);
872-
expect resultForSelectStatement.Failure?;
873-
expect resultForSelectStatement.error.OpaqueWithText?;
872+
expect resultForSelectStatement.Failure?, "ExecuteStatement should have failed";
873+
expect resultForSelectStatement.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
874874
}
875875

876876
method FindMatchingRecord(expected : DDB.AttributeMap, actual : DDB.ItemList) returns (output : bool)

0 commit comments

Comments
 (0)