File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
TestVectors/dafny/DDBEncryption/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -854,8 +854,8 @@ module {:options "-functionSyntax:4"} DdbEncryptionTestVectors {
854
854
Limit := None
855
855
);
856
856
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" ;
859
859
860
860
// Create a PartiQL SELECT statement
861
861
// 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 {
869
869
Limit := None
870
870
);
871
871
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" ;
874
874
}
875
875
876
876
method FindMatchingRecord (expected : DDB .AttributeMap, actual : DDB .ItemList) returns (output : bool )
You can’t perform that action at this time.
0 commit comments